Class PricingEhcacheAutoConfiguration

java.lang.Object
com.broadleafcommerce.pricing.config.PricingEhcacheAutoConfiguration

@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({PricingCacheProperties.class,PricingCacheWeightProperties.class,PricingCacheSizeProperties.class}) public class PricingEhcacheAutoConfiguration extends Object
Configuration for engaging default Broadleaf support for Ehcache.
  • Constructor Details

    • PricingEhcacheAutoConfiguration

      public PricingEhcacheAutoConfiguration()
  • Method Details

    • pricingEhcacheManagerCustomizer

      @Bean @ConditionalOnMissingBean(name="pricingEhcacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.springframework.cache.jcache.JCacheCacheManager> pricingEhcacheManagerCustomizer(com.broadleafcommerce.common.extension.cache.ehcache.EhcacheBudgetManager budgetManager, PricingCacheProperties props, PricingCacheWeightProperties weightProps, PricingCacheSizeProperties sizeProps)