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:
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated, for removal: This API element is subject to removal in a future version.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, typesMatchMethods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
AfterCronJobFinishedEventListener
public AfterCronJobFinishedEventListener()
-
-
Method Details
-
onEvent
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(since="6.6", forRemoval=true) protected boolean isSyncJob(AfterCronJobFinishedEvent event) Deprecated, for removal: This API element is subject to removal in a future version.since 6.6, please use theAbstractBackofficeCronJobEventListener.isProcessUpdateEvent(AbstractCronJobPerformEvent)instead.
-
AbstractBackofficeCronJobEventListener.isProcessUpdateEvent(AbstractCronJobPerformEvent)instead.