Class TranslationCacheAutoConfiguration
java.lang.Object
com.broadleafcommerce.translation.autoconfigure.TranslationCacheAutoConfiguration
@Configuration
@Conditional(com.broadleafcommerce.common.extension.cache.condition.OnEnabledCacheCondition.class)
@ConditionalOnClass(org.apache.ignite.cache.spring.SpringCacheManager.class)
@ConditionalOnProperty(name="com.broadleafcommerce.cache.translationCacheManagerImplementation",
havingValue="com.broadleafcommerce.common.extension.autoconfigure.IgniteCacheAutoConfiguration")
@EnableConfigurationProperties(TranslationCacheProperties.class)
public class TranslationCacheAutoConfiguration
extends Object
Configuration for engaging default Broadleaf support for Apache Ignite cache
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.extension.cache.key.ContextKeyGen
translationCacheByEntityLocale
(com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor.VendorAwareTrackablePolicyUtils vendorAwareTrackablePolicyUtils) org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager>
translationCacheManagerCustomizer
(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, TranslationCacheProperties cacheProperties)
-
Constructor Details
-
TranslationCacheAutoConfiguration
public TranslationCacheAutoConfiguration()
-
-
Method Details
-
translationCacheManagerCustomizer
@Bean @ConditionalOnMissingBean(name="translationCacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager> translationCacheManagerCustomizer(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, TranslationCacheProperties cacheProperties) -
translationCacheByEntityLocale
@Bean @ConditionalOnMissingBean(name="translationCacheByEntityLocale") public com.broadleafcommerce.common.extension.cache.key.ContextKeyGen translationCacheByEntityLocale(@Nullable com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor.VendorAwareTrackablePolicyUtils vendorAwareTrackablePolicyUtils)
-