Class SDJConfiguration

java.lang.Object
com.andaily.config.SDJConfiguration

@Configuration public class SDJConfiguration extends Object
2023/9/14 15:10

Main configuration

replaced spring-dynamic-job.xml

Since:
1.1
Author:
Shengzhao Li
  • Constructor Details

    • SDJConfiguration

      public SDJConfiguration()
  • Method Details

    • fixedJobDetail

      @Bean public org.quartz.JobDetail fixedJobDetail()
      fixed job config demo
    • fixedTrigger

      @Bean public org.quartz.Trigger fixedTrigger()
    • schedulerFactory

      @Bean public org.springframework.scheduling.quartz.SchedulerFactoryBean schedulerFactory(DataSource dataSource)
      Scheduler init
    • dynamicSchedulerFactory

      @Bean public DynamicSchedulerFactory dynamicSchedulerFactory(org.quartz.Scheduler scheduler)
      dynamic scheduler