@IocBean public class ShardingJdbcDataSourceStarter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AppContext |
appContext |
protected org.nutz.ioc.impl.PropertiesProxy |
conf |
protected static String |
PRE |
static String |
PROP_PATH |
| Constructor and Description |
|---|
ShardingJdbcDataSourceStarter() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource() |
protected static String PRE
@PropDoc(group="shardingjdbc", value="\u914d\u7f6e\u6587\u4ef6\u8def\u5f84", defaultValue="shardingjdbc.yaml") public static final String PROP_PATH
@Inject protected org.nutz.ioc.impl.PropertiesProxy conf
@Inject protected AppContext appContext
@IocBean public DataSource getDataSource() throws Exception
ExceptionCopyright © 2018. All rights reserved.