@Configuration @ConditionalOnProperty(name="spring.quartz.enabled") public class QuartzConfig extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
QuartzConfig.AutowiringSpringBeanJobFactory |
| 构造器和说明 |
|---|
QuartzConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.quartz.spi.JobFactory |
jobFactory(org.springframework.context.ApplicationContext applicationContext) |
org.quartz.Scheduler |
scheduler(org.quartz.spi.JobFactory jobFactory) |
@Bean
public org.quartz.Scheduler scheduler(org.quartz.spi.JobFactory jobFactory)
throws org.quartz.SchedulerException,
IOException
org.quartz.SchedulerExceptionIOException@Bean public org.quartz.spi.JobFactory jobFactory(org.springframework.context.ApplicationContext applicationContext)
Copyright (c) 2002-2020 Luther Inc.