Class QuartzAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration
@AutoConfiguration(after={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class,LiquibaseAutoConfiguration.class,FlywayAutoConfiguration.class})
@ConditionalOnClass({org.quartz.Scheduler.class,org.springframework.scheduling.quartz.SchedulerFactoryBean.class,org.springframework.transaction.PlatformTransactionManager.class})
@EnableConfigurationProperties(QuartzProperties.class)
public class QuartzAutoConfiguration
extends Object
Auto-configuration
for Quartz Scheduler.- Since:
- 2.0.0
- Author:
- Vedran Pavic, Stephane Nicoll
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionquartzScheduler
(QuartzProperties properties, ObjectProvider<SchedulerFactoryBeanCustomizer> customizers, ObjectProvider<org.quartz.JobDetail> jobDetails, Map<String, org.quartz.Calendar> calendars, ObjectProvider<org.quartz.Trigger> triggers, ApplicationContext applicationContext)
-
Constructor Details
-
QuartzAutoConfiguration
public QuartzAutoConfiguration()
-
-
Method Details
-
quartzScheduler
@Bean @ConditionalOnMissingBean public SchedulerFactoryBean quartzScheduler(QuartzProperties properties, ObjectProvider<SchedulerFactoryBeanCustomizer> customizers, ObjectProvider<org.quartz.JobDetail> jobDetails, Map<String, org.quartz.Calendar> calendars, ObjectProvider<org.quartz.Trigger> triggers, ApplicationContext applicationContext)
-