Class NotificationEhcacheAutoConfiguration
java.lang.Object
com.broadleafcommerce.notification.service.autoconfigure.NotificationEhcacheAutoConfiguration
@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({NotificationCacheProperties.class,NotificationCacheWeightProperties.class,NotificationCacheSizeProperties.class})
public class NotificationEhcacheAutoConfiguration
extends Object
Configuration for engaging default Broadleaf support for Ehcache in the Notification service.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.extension.cache.CacheCustomizerFactoryBean
-
Constructor Details
-
NotificationEhcacheAutoConfiguration
public NotificationEhcacheAutoConfiguration()
-
-
Method Details
-
notificationEhcacheManagerCustomizer
@Bean @ConditionalOnMissingBean(name="notificationEhcacheManagerCustomizer") public com.broadleafcommerce.common.extension.cache.CacheCustomizerFactoryBean notificationEhcacheManagerCustomizer()
-