@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,LiquibaseAutoConfiguration.class,FlywayAutoConfiguration.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,
org.springframework.beans.factory.ObjectProvider<SchedulerFactoryBeanCustomizer> customizers,
org.springframework.beans.factory.ObjectProvider<org.quartz.JobDetail[]> jobDetails,
Map<String,org.quartz.Calendar> calendars,
org.springframework.beans.factory.ObjectProvider<org.quartz.Trigger[]> triggers,
org.springframework.context.ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
org.springframework.scheduling.quartz.SchedulerFactoryBean |
quartzScheduler() |
public QuartzAutoConfiguration(QuartzProperties properties, org.springframework.beans.factory.ObjectProvider<SchedulerFactoryBeanCustomizer> customizers, org.springframework.beans.factory.ObjectProvider<org.quartz.JobDetail[]> jobDetails, Map<String,org.quartz.Calendar> calendars, org.springframework.beans.factory.ObjectProvider<org.quartz.Trigger[]> triggers, org.springframework.context.ApplicationContext applicationContext)
@Bean @ConditionalOnMissingBean public org.springframework.scheduling.quartz.SchedulerFactoryBean quartzScheduler()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.