Class CustomerClientEhcacheAutoConfiguration

java.lang.Object
com.broadleafcommerce.customer.client.autoconfigure.CustomerClientEhcacheAutoConfiguration

@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({CustomerClientCacheProperties.class,CustomerClientCacheWeightProperties.class,CustomerClientCacheSizeProperties.class}) public class CustomerClientEhcacheAutoConfiguration extends Object
Configuration for engaging default Broadleaf support for Ehcache in the Customer Client.
  • Constructor Details

    • CustomerClientEhcacheAutoConfiguration

      public CustomerClientEhcacheAutoConfiguration()
  • Method Details

    • customerClientEhcacheManagerCustomizer

      @Bean @ConditionalOnMissingBean(name="customerClientEhcacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.springframework.cache.jcache.JCacheCacheManager> customerClientEhcacheManagerCustomizer(com.broadleafcommerce.common.extension.cache.ehcache.EhcacheBudgetManager budgetManager, CustomerClientCacheProperties props, CustomerClientCacheWeightProperties weightProps, CustomerClientCacheSizeProperties sizeProps)