Class DataTrackingCacheAutoConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.core.autoconfigure.DataTrackingCacheAutoConfiguration
@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(DataTrackingCacheProperties.class)
public class DataTrackingCacheAutoConfiguration
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>
dataTrackingCacheManagerCustomizer
(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, DataTrackingCacheProperties cacheProperties) sandboxVisibleCacheEnabledContextInfoCustomizer
(org.springframework.core.convert.converter.Converter<org.springframework.security.core.Authentication, Map<String, Object>> authenticationAttributesConverter) com.broadleafcommerce.common.extension.cache.CacheResultPostProcessor
org.springframework.cache.interceptor.KeyGenerator
org.springframework.cache.interceptor.KeyGenerator
-
Constructor Details
-
DataTrackingCacheAutoConfiguration
public DataTrackingCacheAutoConfiguration()
-
-
Method Details
-
dataTrackingCacheManagerCustomizer
@Bean @ConditionalOnMissingBean(name="dataTrackingCacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager> dataTrackingCacheManagerCustomizer(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, DataTrackingCacheProperties cacheProperties) -
trackingCacheByCatalogContextId
@Bean @ConditionalOnMissingBean(name="trackingCacheByCatalogContextId") public org.springframework.cache.interceptor.KeyGenerator trackingCacheByCatalogContextId() -
trackingCacheByApplicationContextId
@Bean @ConditionalOnMissingBean(name="trackingCacheByApplicationContextId") public org.springframework.cache.interceptor.KeyGenerator trackingCacheByApplicationContextId() -
sandboxVisibleCacheEnabledContextInfoCustomizer
@Bean @ConditionalOnMissingBean(name="sandboxVisibleCacheEnabledContextInfoCustomizer") public ContextInfoCustomizer sandboxVisibleCacheEnabledContextInfoCustomizer(@Autowired(required=false) @Qualifier("authenticationAttributesConverter") org.springframework.core.convert.converter.Converter<org.springframework.security.core.Authentication, Map<String, Object>> authenticationAttributesConverter) -
sortableCacheResultPostProcessor
@Bean @ConditionalOnMissingBean(name="sortableCacheResultPostProcessor") public com.broadleafcommerce.common.extension.cache.CacheResultPostProcessor sortableCacheResultPostProcessor()
-