DataSources
This commit is contained in:
@@ -95,11 +95,6 @@ public final class DataSources {
|
|||||||
//do nothing
|
//do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
//从AnyValue配置中创建DataSource
|
|
||||||
public static DataSource createDataSource(AnyValue sourceConf) {
|
|
||||||
return createDataSource(sourceConf, "");
|
|
||||||
}
|
|
||||||
|
|
||||||
//从Properties配置中创建DataSource
|
//从Properties配置中创建DataSource
|
||||||
public static DataSource createDataSource(Properties sourceProperties, String sourceName) {
|
public static DataSource createDataSource(Properties sourceProperties, String sourceName) {
|
||||||
AnyValue redConf = AnyValue.loadFromProperties(sourceProperties);
|
AnyValue redConf = AnyValue.loadFromProperties(sourceProperties);
|
||||||
|
|||||||
Reference in New Issue
Block a user