Class CatalogEhcacheAutoConfiguration

java.lang.Object
com.broadleafcommerce.catalog.autoconfigure.CatalogEhcacheAutoConfiguration

@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({CatalogCacheProperties.class,CatalogCacheWeightProperties.class,CatalogCacheSizeProperties.class}) public class CatalogEhcacheAutoConfiguration extends Object
Configuration for engaging default Broadleaf support for Ehcache.
  • Constructor Details

    • CatalogEhcacheAutoConfiguration

      public CatalogEhcacheAutoConfiguration()
  • Method Details

    • catalogEhcacheManagerCustomizer

      @Bean @ConditionalOnMissingBean(name="catalogEhcacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.springframework.cache.jcache.JCacheCacheManager> catalogEhcacheManagerCustomizer(com.broadleafcommerce.common.extension.cache.ehcache.EhcacheBudgetManager budgetManager, CatalogCacheProperties props, CatalogCacheWeightProperties weightProps, CatalogCacheSizeProperties sizeProps)