Class DataTrackingCacheAutoConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.core.autoconfigure.DataTrackingCacheAutoConfiguration
@Configuration
@Conditional(com.broadleafcommerce.common.extension.cache.condition.OnEnabledCacheCondition.class)
@EnableConfigurationProperties(DataTrackingCacheProperties.class)
public class DataTrackingCacheAutoConfiguration
extends Object
Common configuration for data tracking caching.
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsandboxVisibleCacheEnabledContextInfoCustomizer(org.springframework.core.convert.converter.Converter<org.springframework.security.core.Authentication, Map<String, Object>> authenticationAttributesConverter) com.broadleafcommerce.common.extension.cache.CacheResultPostProcessororg.springframework.cache.interceptor.KeyGeneratororg.springframework.cache.interceptor.KeyGenerator
-
Constructor Details
-
DataTrackingCacheAutoConfiguration
public DataTrackingCacheAutoConfiguration()
-
-
Method Details
-
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()
-