@Component(value="blContentTargetingActionCacheInvalidationEventConsumer")
public class ContentTargetingActionCacheInvalidationEventConsumer
extends com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
Modifier and Type | Field and Description |
---|---|
protected ContentTargeterService |
contentTargeterService |
protected javax.persistence.EntityManager |
em |
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil |
transUtil |
entityManagerFactory
Constructor and Description |
---|
ContentTargetingActionCacheInvalidationEventConsumer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canHandleEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) |
protected boolean |
checkEntityType(com.broadleafcommerce.jobsevents.domain.SystemEvent event,
Class<? extends Object> clazz) |
void |
consumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) |
String |
getEventType() |
int |
getOrder() |
protected Long |
lookupIdentifierForEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) |
protected ContentTargeterService contentTargeterService
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
protected javax.persistence.EntityManager em
public ContentTargetingActionCacheInvalidationEventConsumer()
public void consumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event)
protected boolean canHandleEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event)
protected boolean checkEntityType(com.broadleafcommerce.jobsevents.domain.SystemEvent event, Class<? extends Object> clazz)
protected Long lookupIdentifierForEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event)
public String getEventType()
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
getOrder
in class com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
Copyright © 2020. All rights reserved.