Class RuleEngineAfterCronJobFinishedEventListener
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterCronJobFinishedEvent>
de.hybris.platform.ruleengineservices.jobs.events.RuleEngineAfterCronJobFinishedEventListener
- 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 RuleEngineAfterCronJobFinishedEventListener
extends AbstractEventListener<AfterCronJobFinishedEvent>
Event listener for the
AfterCronJobFinishedEvent type of events. In case of RuleEngineJobModel job type
performs release of locks associated to the given cron job via
RuleEngineJobExecutionSynchronizer.releaseLock(RuleEngineCronJobModel).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModelServiceprotected RuleEngineJobExecutionSynchronizerprotected voidonEvent(AfterCronJobFinishedEvent event) This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetModelService(ModelService modelService) voidsetRuleEngineJobExecutionSynchronizer(RuleEngineJobExecutionSynchronizer ruleEngineJobExecutionSynchronizer) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
RuleEngineAfterCronJobFinishedEventListener
public RuleEngineAfterCronJobFinishedEventListener()
-
-
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)
-
getModelService
-
setModelService
-
getRuleEngineJobExecutionSynchronizer
-
setRuleEngineJobExecutionSynchronizer
public void setRuleEngineJobExecutionSynchronizer(RuleEngineJobExecutionSynchronizer ruleEngineJobExecutionSynchronizer)
-