Class TranslationCacheAutoConfiguration

java.lang.Object
com.broadleafcommerce.translation.autoconfigure.TranslationCacheAutoConfiguration

@Configuration @Conditional(com.broadleafcommerce.common.extension.cache.condition.OnEnabledCacheCondition.class) @EnableConfigurationProperties(TranslationCacheProperties.class) public class TranslationCacheAutoConfiguration extends Object
Common configuration for translation caching.
Author:
Jeff Fischer
  • Constructor Details

    • TranslationCacheAutoConfiguration

      public TranslationCacheAutoConfiguration()
  • Method Details

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