Class SchedulerConfigurer

java.lang.Object
cronapp.framework.scheduler.SchedulerConfigurer

public class SchedulerConfigurer extends Object
  • Constructor Details

    • SchedulerConfigurer

      public SchedulerConfigurer()
  • Method Details

    • createTrigger

      public static org.springframework.scheduling.quartz.SimpleTriggerFactoryBean createTrigger(org.quartz.JobDetail jobDetail, long pollFrequencyMs)
    • createCronTrigger

      public static org.springframework.scheduling.quartz.CronTriggerFactoryBean createCronTrigger(org.quartz.JobDetail jobDetail, String cronExpression)
    • createJobDetail

      public static org.springframework.scheduling.quartz.JobDetailFactoryBean createJobDetail(Class jobClass)
    • jobFactory

      @Bean public org.quartz.spi.JobFactory jobFactory(org.springframework.context.ApplicationContext applicationContext)
    • schedulerFactoryBean

      @Bean public org.springframework.scheduling.quartz.SchedulerFactoryBean schedulerFactoryBean(Optional<DataSource> dataSource, org.quartz.spi.JobFactory jobFactory) throws IOException
      Throws:
      IOException
    • quartzProperties

      @Bean public Properties quartzProperties() throws IOException
      Throws:
      IOException