Class TaskSchedulerStarter

java.lang.Object
ch.tocco.nice2.tasks.impl.quartz.TaskSchedulerStarter
All Implemented Interfaces:
Runnable

@DependsOn("nice2") @ConditionalOnProperty(value="ch.tocco.nice2.enableUpgradeMode", havingValue="false", matchIfMissing=true) public class TaskSchedulerStarter extends Object implements Runnable
  • Constructor Details

  • Method Details

    • setJobListeners

      @Autowired public void setJobListeners(List<org.quartz.JobListener> jobListeners)
    • setSchedulerListeners

      @Autowired public void setSchedulerListeners(List<org.quartz.SchedulerListener> schedulerListeners)
    • setBatchJobs

      public void setBatchJobs(List<BatchJobContribution> batchJobs)
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • cleanUp

      @PreDestroy public void cleanUp() throws org.quartz.SchedulerException
      Throws:
      org.quartz.SchedulerException