@Configuration @ConditionalOnClass(value={org.quartz.Scheduler.class,org.springframework.scheduling.quartz.SchedulerFactoryBean.class,org.springframework.transaction.PlatformTransactionManager.class}) @EnableConfigurationProperties(value=QuartzProperties.class) @AutoConfigureAfter(value={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class}) public class QuartzAutoConfiguration extends Object
Auto-configuration
for Quartz Scheduler.Modifier and Type | Class and Description |
---|---|
protected static class |
QuartzAutoConfiguration.JdbcStoreTypeConfiguration |
Constructor and Description |
---|
QuartzAutoConfiguration(QuartzProperties properties,
ObjectProvider<List<SchedulerFactoryBeanCustomizer>> customizers,
ObjectProvider<org.quartz.JobDetail[]> jobDetails,
ObjectProvider<Map<String,org.quartz.Calendar>> calendars,
ObjectProvider<org.quartz.Trigger[]> triggers,
ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
SchedulerFactoryBean |
quartzScheduler() |
public QuartzAutoConfiguration(QuartzProperties properties, ObjectProvider<List<SchedulerFactoryBeanCustomizer>> customizers, ObjectProvider<org.quartz.JobDetail[]> jobDetails, ObjectProvider<Map<String,org.quartz.Calendar>> calendars, ObjectProvider<org.quartz.Trigger[]> triggers, ApplicationContext applicationContext)
@Bean @ConditionalOnMissingBean public SchedulerFactoryBean quartzScheduler()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.