Class OfferCacheAutoConfiguration
java.lang.Object
com.broadleafcommerce.promotion.offer.autoconfigure.OfferCacheAutoConfiguration
@Configuration
@Conditional(com.broadleafcommerce.common.extension.cache.condition.OnEnabledCacheCondition.class)
@ConditionalOnClass(org.apache.ignite.cache.spring.SpringCacheManager.class)
@ConditionalOnProperty(value="com.broadleafcommerce.cache.activeCacheManagerImplementation",
havingValue="com.broadleafcommerce.common.extension.autoconfigure.IgniteCacheAutoConfiguration",
matchIfMissing=true)
@EnableConfigurationProperties(OfferCacheProperties.class)
public class OfferCacheAutoConfiguration
extends Object
Configuration for engaging default Broadleaf support for Apache Ignite cache
- Author:
- Jeff Fischer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager>
offerCacheManagerCustomizer
(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, OfferCacheProperties offerCacheProperties)
-
Constructor Details
-
OfferCacheAutoConfiguration
public OfferCacheAutoConfiguration()
-
-
Method Details
-
offerCacheManagerCustomizer
@Bean @ConditionalOnMissingBean(name="offerCacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager> offerCacheManagerCustomizer(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, OfferCacheProperties offerCacheProperties)
-