Class 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 Detail

      • PricingCacheAutoConfiguration

        public PricingCacheAutoConfiguration()
    • Method Detail

      • 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)