Class ScheduledPersistedActionServiceImpl.ScheduledJobWrapper

  • All Implemented Interfaces:
    org.quartz.Job, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
    Enclosing class:
    ScheduledPersistedActionServiceImpl

    public static class ScheduledPersistedActionServiceImpl.ScheduledJobWrapper
    extends Object
    implements org.quartz.Job, org.springframework.context.ApplicationContextAware
    The thing that Quartz runs when the schedule fires. Handles fetching the action, and having it run asynchronously
    • Constructor Detail

      • ScheduledJobWrapper

        public ScheduledJobWrapper()
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
      • execute

        public void execute​(org.quartz.JobExecutionContext jobContext)
        Specified by:
        execute in interface org.quartz.Job