Package com.hybris.backoffice.events
Class AfterCronJobFinishedEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<T>
-
- com.hybris.backoffice.events.AbstractBackofficeCronJobEventListener<AfterCronJobFinishedEvent>
-
- com.hybris.backoffice.events.AfterCronJobFinishedEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<AfterCronJobFinishedEvent>
public class AfterCronJobFinishedEventListener extends AbstractBackofficeCronJobEventListener<AfterCronJobFinishedEvent>
Event listener for cron jobs. If finished cron job is included in backoffice processes then event is send to entire cluster with this information.
-
-
Constructor Summary
Constructors Constructor Description AfterCronJobFinishedEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleanisSyncJob(AfterCronJobFinishedEvent event)Deprecated.since 6.6, please use theAbstractBackofficeCronJobEventListener.isProcessUpdateEvent(AbstractCronJobPerformEvent)instead.protected voidonEvent(AfterCronJobFinishedEvent event)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.-
Methods inherited from class com.hybris.backoffice.events.AbstractBackofficeCronJobEventListener
eventMatchesInclude, getEventService, getProcessesIncludes, getTypeService, isProcessUpdateEvent, setEventService, setProcessesIncludes, setTypeService, typesMatch
-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
onEvent
protected void onEvent(AfterCronJobFinishedEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<AfterCronJobFinishedEvent>- Parameters:
event- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
isSyncJob
@Deprecated protected boolean isSyncJob(AfterCronJobFinishedEvent event)
Deprecated.since 6.6, please use theAbstractBackofficeCronJobEventListener.isProcessUpdateEvent(AbstractCronJobPerformEvent)instead.
-
-