909192939495969798
}; List<DataSourceWrapper> dss = ConfigManager.buildDataSourceWrapper(dsKeyAndWeightCommaArray, wrapper); init(dss); } else { checkProperties(); configManager = new ConfigManager(this); configManager.init(); } }
100101102103104105106107
public void init(DataSourceWrapper... dataSourceWrappers) { init(Arrays.asList(dataSourceWrappers)); } public void init(List<DataSourceWrapper> dataSourceWrappers) { configManager = new ConfigManager(this); configManager.init(dataSourceWrappers); }