Package com.hybris.backoffice.events
Class AbstractBackofficeCronJobEventListener<T extends AbstractCronJobPerformEvent>
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<T>
-
- com.hybris.backoffice.events.AbstractBackofficeCronJobEventListener<T>
-
- All Implemented Interfaces:
java.util.EventListener
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
,org.springframework.context.ApplicationListener<T>
- Direct Known Subclasses:
AfterCronJobFinishedEventListener
,BeforeCronJobStartEventListener
public abstract class AbstractBackofficeCronJobEventListener<T extends AbstractCronJobPerformEvent> extends AbstractEventListener<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractBackofficeCronJobEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
eventMatchesInclude(T event, CronJobHistoryInclude include)
EventService
getEventService()
java.util.Map<java.lang.String,CronJobHistoryInclude>
getProcessesIncludes()
TypeService
getTypeService()
protected boolean
isProcessUpdateEvent(T event)
void
setEventService(EventService eventService)
void
setProcessesIncludes(java.util.Map<java.lang.String,CronJobHistoryInclude> processesIncludes)
void
setTypeService(TypeService typeService)
protected boolean
typesMatch(java.lang.String superType, java.lang.String subType)
-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, onEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
isProcessUpdateEvent
protected boolean isProcessUpdateEvent(T event)
-
eventMatchesInclude
protected boolean eventMatchesInclude(T event, CronJobHistoryInclude include)
-
typesMatch
protected boolean typesMatch(java.lang.String superType, java.lang.String subType)
-
getEventService
public EventService getEventService()
-
setEventService
public void setEventService(EventService eventService)
-
getTypeService
public TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
getProcessesIncludes
public java.util.Map<java.lang.String,CronJobHistoryInclude> getProcessesIncludes()
-
setProcessesIncludes
public void setProcessesIncludes(java.util.Map<java.lang.String,CronJobHistoryInclude> processesIncludes)
-
-