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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.extension.cache.CacheCustomizerFactoryBean
-
Constructor Details
-
CustomerClientEhcacheAutoConfiguration
public CustomerClientEhcacheAutoConfiguration()
-
-
Method Details
-
customerClientEhcacheManagerCustomizer
@Bean @ConditionalOnMissingBean(name="customerClientEhcacheManagerCustomizer") public com.broadleafcommerce.common.extension.cache.CacheCustomizerFactoryBean customerClientEhcacheManagerCustomizer()
-