Class HSQLDatabaseAutoConfiguration

java.lang.Object
com.broadleafcommerce.autoconfigure.HSQLDatabaseAutoConfiguration

@Configuration @EnableConfigurationProperties(HSQLDBProperties.class) @ConditionalOnProperty(prefix="demo.database", name="autoConfigEnabled", matchIfMissing=true) @AutoConfigureAfter(name="com.broadleafcommerce.autoconfigure.DatabaseAutoConfiguration") public class HSQLDatabaseAutoConfiguration extends Object
Author:
Jeff Fischer
  • Field Details

    • props

      @Autowired protected HSQLDBProperties props
    • environment

      @Autowired protected org.springframework.core.env.Environment environment
  • Constructor Details

    • HSQLDatabaseAutoConfiguration

      public HSQLDatabaseAutoConfiguration()
  • Method Details

    • blEmbeddedDatabase

      @ConditionalOnMissingBean(name="webDS") @Bean public HSQLDBServer blEmbeddedDatabase()
    • webDS

      @ConditionalOnMissingBean(name="webDS") @DependsOn("blEmbeddedDatabase") @Bean @Primary public DataSource webDS()
    • webSecureDS

      @ConditionalOnMissingBean(name="webSecureDS") @DependsOn("blEmbeddedDatabase") @Bean public DataSource webSecureDS()
    • webStorageDS

      @ConditionalOnMissingBean(name="webStorageDS") @DependsOn("blEmbeddedDatabase") @Bean public DataSource webStorageDS()
    • webEventDS

      @ConditionalOnMissingBean(name="webEventDS") @DependsOn("blEmbeddedDatabase") @Bean public DataSource webEventDS()
    • demoDS

      @ConditionalOnMissingBean(name="demoDS") @ConditionalOnClass(name="com.blcdemo.core.domain.PDSite") @DependsOn("blEmbeddedDatabase") @Bean public DataSource demoDS()
    • buildDataSource

      protected DataSource buildDataSource()