Class RuleEngineBeforeCronJobStartEventListener

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<BeforeCronJobStartEvent>

    public class RuleEngineBeforeCronJobStartEventListener
    extends AbstractEventListener<BeforeCronJobStartEvent>
    Event listener for the BeforeCronJobStartEvent type of events. In case of RuleEngineJobModel job type performs removal of all of the TriggerModels associated to the given cron job. The purpose is to ensure that once the cron job has been started, it should not be triggered anymore, as rule engine cron jobs\ are expected to fire only once.
    • Constructor Detail

      • RuleEngineBeforeCronJobStartEventListener

        public RuleEngineBeforeCronJobStartEventListener()