Class QuartzAutoConfiguration

java.lang.Object
cn.net.pap.quartz.QuartzAutoConfiguration

@Configuration @ConditionalOnClass(com.zaxxer.hikari.HikariDataSource.class) public class QuartzAutoConfiguration extends Object
AutoConfiguration
  • Constructor Details

    • QuartzAutoConfiguration

      public QuartzAutoConfiguration()
  • Method Details

    • quartzDataSource

      @Bean("quartzDataSource") public DataSource quartzDataSource() throws SQLException
      quartzDataSource
      Returns:
      Throws:
      SQLException
    • quartzDataSourceInitializer

      @Bean("quartzDataSourceInitializer") public org.springframework.jdbc.datasource.init.DataSourceInitializer quartzDataSourceInitializer(DataSource dataSource)
      quartzDataSourceInitializer
      Parameters:
      dataSource -
      Returns:
    • schedulerFactoryBean

      @Bean public org.springframework.scheduling.quartz.SchedulerFactoryBean schedulerFactoryBean() throws Exception
      schedulerFactoryBean
      Returns:
      Throws:
      Exception
    • schedulerThreadPool

      @Bean public org.springframework.core.task.TaskExecutor schedulerThreadPool()
      schedulerThreadPool
      Returns: