Class ContentEhcacheAutoConfiguration
java.lang.Object
com.broadleafcommerce.content.autoconfigure.ContentEhcacheAutoConfiguration
@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({ContentCacheProperties.class,ContentCacheWeightProperties.class,ContentCacheSizeProperties.class})
public class ContentEhcacheAutoConfiguration
extends Object
Configuration for engaging default Broadleaf support for Ehcache in the Content service.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.extension.cache.CacheCustomizerFactoryBean
-
Constructor Details
-
ContentEhcacheAutoConfiguration
public ContentEhcacheAutoConfiguration()
-
-
Method Details
-
contentEhcacheManagerCustomizer
@Bean @ConditionalOnMissingBean(name="contentEhcacheManagerCustomizer") public com.broadleafcommerce.common.extension.cache.CacheCustomizerFactoryBean contentEhcacheManagerCustomizer()
-