Class PricingCacheAutoConfiguration
java.lang.Object
com.broadleafcommerce.pricing.config.PricingCacheAutoConfiguration
@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(PricingCacheProperties.class)
public class PricingCacheAutoConfiguration
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>
pricingCacheManagerCustomizer
(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, PricingCacheProperties pricingCacheProperties)
-
Constructor Details
-
PricingCacheAutoConfiguration
public PricingCacheAutoConfiguration()
-
-
Method Details
-
pricingCacheManagerCustomizer
@Bean @ConditionalOnMissingBean(name="pricingCacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager> pricingCacheManagerCustomizer(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, PricingCacheProperties pricingCacheProperties)
-