Class RuleEngineAfterCronJobFinishedEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterCronJobFinishedEvent>
-
- de.hybris.platform.ruleengineservices.jobs.events.RuleEngineAfterCronJobFinishedEventListener
-
- 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 RuleEngineAfterCronJobFinishedEventListener extends AbstractEventListener<AfterCronJobFinishedEvent>
Event listener for theAfterCronJobFinishedEventtype of events. In case ofRuleEngineJobModeljob type performs release of locks associated to the given cron job viaRuleEngineJobExecutionSynchronizer.releaseLock(RuleEngineCronJobModel).
-
-
Constructor Summary
Constructors Constructor Description RuleEngineAfterCronJobFinishedEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ModelServicegetModelService()protected RuleEngineJobExecutionSynchronizergetRuleEngineJobExecutionSynchronizer()protected 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
-
-
-
-
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)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getRuleEngineJobExecutionSynchronizer
protected RuleEngineJobExecutionSynchronizer getRuleEngineJobExecutionSynchronizer()
-
setRuleEngineJobExecutionSynchronizer
public void setRuleEngineJobExecutionSynchronizer(RuleEngineJobExecutionSynchronizer ruleEngineJobExecutionSynchronizer)
-
-