Class FulfillmentEhcacheAutoConfiguration

java.lang.Object
com.broadleafcommerce.fulfillment.autoconfigure.FulfillmentEhcacheAutoConfiguration

@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({FulfillmentCacheProperties.class,FulfillmentCacheWeightProperties.class,FulfillmentCacheSizeProperties.class}) public class FulfillmentEhcacheAutoConfiguration extends Object
Configuration for engaging default Broadleaf support for Ehcache in the Fulfillment service.
  • Constructor Details

    • FulfillmentEhcacheAutoConfiguration

      public FulfillmentEhcacheAutoConfiguration()
  • Method Details

    • fulfillmentEhcacheManagerCustomizer

      @Bean @ConditionalOnMissingBean(name="fulfillmentEhcacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.springframework.cache.jcache.JCacheCacheManager> fulfillmentEhcacheManagerCustomizer(com.broadleafcommerce.common.extension.cache.ehcache.EhcacheBudgetManager budgetManager, FulfillmentCacheProperties props, FulfillmentCacheWeightProperties weightProps, FulfillmentCacheSizeProperties sizeProps)