public class DataSourceHolder extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DataSourceHolder.DataSourceSwitch |
| Constructor and Description |
|---|
DataSourceHolder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDataSource(Map<String,String> map)
动态增加数据源
|
static String |
getKey()
Get current DataSource
|
static void |
remove()
To set DataSource as default
|
static void |
setKey(String key)
To switch DataSource
|
Copyright © 2021. All rights reserved.