Class PageTranslationCacheInvalidationEventConsumer
java.lang.Object
com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
com.broadleafcommerce.advancedcms.event.consumer.PageTranslationCacheInvalidationEventConsumer
- All Implemented Interfaces:
com.broadleafcommerce.jobsevents.service.EntityManagerFactoryAwareSystemEventConsumer,com.broadleafcommerce.jobsevents.service.SystemEventConsumer,org.springframework.core.Ordered
@Component("blPageTranslationCacheInvalidationEventConsumer")
public class PageTranslationCacheInvalidationEventConsumer
extends com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
Invalidate the page cache
AdvancedPage
translation change Translation
that was deployed to production-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.broadleafcommerce.cms.page.service.PageServiceprotected org.broadleafcommerce.common.i18n.service.TranslationServiceFields inherited from class com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
entityManagerFactoryFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEFields inherited from interface com.broadleafcommerce.jobsevents.service.SystemEventConsumer
DEFAULT_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) Methods inherited from class com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
getEntityManagerFactory, getOrder, setEntityManagerFactory
-
Field Details
-
pageService
protected org.broadleafcommerce.cms.page.service.PageService pageService -
translationService
protected org.broadleafcommerce.common.i18n.service.TranslationService translationService
-
-
Constructor Details
-
PageTranslationCacheInvalidationEventConsumer
public PageTranslationCacheInvalidationEventConsumer()
-
-
Method Details
-
consumeEvent
public void consumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) -
getEventType
-