@Configuration(proxyBeanMethods=false) @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() |
Modifier and Type | Method and Description |
---|---|
org.springframework.scheduling.quartz.SchedulerFactoryBean |
quartzScheduler(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(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)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.