@Configuration @EnableConfigurationProperties(value=HSQLDBProperties.class) public class DatabaseAutoConfiguration extends Object
| Constructor and Description |
|---|
DatabaseAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
HSQLDBServer |
blEmbeddedDatabase() |
protected DataSource |
buildDataSource() |
DataSource |
demoDS() |
DataSource |
webDS() |
DataSource |
webEventDS() |
DataSource |
webSecureDS() |
DataSource |
webStorageDS() |
@ConditionalOnMissingBean(name="webDS") @Bean public HSQLDBServer blEmbeddedDatabase()
@ConditionalOnMissingBean(name="webDS") @DependsOn(value="blEmbeddedDatabase") @Bean @Primary public DataSource webDS()
@ConditionalOnMissingBean(name="webSecureDS") @DependsOn(value="blEmbeddedDatabase") @Bean public DataSource webSecureDS()
@ConditionalOnMissingBean(name="webStorageDS") @DependsOn(value="blEmbeddedDatabase") @Bean public DataSource webStorageDS()
@ConditionalOnMissingBean(name="webEventDS") @DependsOn(value="blEmbeddedDatabase") @Bean public DataSource webEventDS()
@ConditionalOnMissingBean(name="demoDS") @ConditionalOnClass(name="com.broadleafcommerce.registered.common.domain.PDSite") @DependsOn(value="blEmbeddedDatabase") @Bean public DataSource demoDS()
protected DataSource buildDataSource()
Copyright © 2017. All rights reserved.