Class IndexerEhcacheAutoConfiguration

java.lang.Object
com.broadleafcommerce.search.index.core.service.autoconfigure.IndexerEhcacheAutoConfiguration

@Configuration @Conditional(com.broadleafcommerce.common.extension.cache.condition.OnEnabledCacheCondition.class) @ConditionalOnClass(org.springframework.cache.jcache.JCacheCacheManager.class) @ConditionalOnProperty(value="com.broadleafcommerce.cache.activeCacheManagerImplementation", havingValue="com.broadleafcommerce.common.extension.cache.ehcache.EhcacheAutoConfiguration") @EnableConfigurationProperties({IndexCacheProperties.class,IndexCacheWeightProperties.class,IndexCacheSizeProperties.class}) public class IndexerEhcacheAutoConfiguration extends Object
Configuration for engaging default Broadleaf support for Ehcache in the Indexer service.
  • Constructor Details

    • IndexerEhcacheAutoConfiguration

      public IndexerEhcacheAutoConfiguration()
  • Method Details

    • indexerEhcacheManagerCustomizer

      @Bean @ConditionalOnMissingBean(name="indexerEhcacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.springframework.cache.jcache.JCacheCacheManager> indexerEhcacheManagerCustomizer(com.broadleafcommerce.common.extension.cache.ehcache.EhcacheBudgetManager budgetManager, IndexCacheProperties props, IndexCacheWeightProperties weightProps, IndexCacheSizeProperties sizeProps)