Update
This commit is contained in:
parent
b2e1813cff
commit
208d44b5f5
@ -19,9 +19,9 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
*/
|
*/
|
||||||
public class DBSource {
|
public class DBSource {
|
||||||
|
|
||||||
@TInject("datasource.yml")
|
@TInject(value = "datasource.yml", migrate = true)
|
||||||
private static TConfig settings;
|
private static TConfig settings;
|
||||||
private static ConcurrentHashMap<IHost, DBSourceData> dataSource = new ConcurrentHashMap<>();
|
private static final ConcurrentHashMap<IHost, DBSourceData> dataSource = new ConcurrentHashMap<>();
|
||||||
|
|
||||||
public static DataSource create(IHost host) {
|
public static DataSource create(IHost host) {
|
||||||
return create(host, null);
|
return create(host, null);
|
||||||
|
Loading…
Reference in New Issue
Block a user