@Configuration @EnableConfigurationProperties(value=DBProperties.class) public class DatabaseAutoConfiguration extends Object
| Constructor and Description |
|---|
DatabaseAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected DataSource |
buildDataSource() |
DataSource |
demoDS() |
DataSource |
webDS() |
DataSource |
webEventDS() |
DataSource |
webSecureDS() |
DataSource |
webStorageDS() |
@ConditionalOnMissingBean(name="webDS") @Bean @Primary public DataSource webDS() throws ClassNotFoundException
ClassNotFoundException@ConditionalOnMissingBean(name="webSecureDS") @Bean public DataSource webSecureDS() throws ClassNotFoundException
ClassNotFoundException@ConditionalOnMissingBean(name="webStorageDS") @Bean public DataSource webStorageDS() throws ClassNotFoundException
ClassNotFoundException@ConditionalOnMissingBean(name="webEventDS") @Bean public DataSource webEventDS() throws ClassNotFoundException
ClassNotFoundException@ConditionalOnMissingBean(name="demoDS") @ConditionalOnClass(name="com.blcdemo.core.domain.PDSite") @Bean public DataSource demoDS() throws ClassNotFoundException
ClassNotFoundExceptionprotected DataSource buildDataSource() throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2017. All rights reserved.