@ConditionalOnClass(value=org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.class) @Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=TaskSchedulingProperties.class) @AutoConfigureAfter(value=TaskExecutionAutoConfiguration.class) public class TaskSchedulingAutoConfiguration extends Object
Constructor and Description |
---|
TaskSchedulingAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
static LazyInitializationExcludeFilter |
scheduledBeanLazyInitializationExcludeFilter() |
ThreadPoolTaskScheduler |
taskScheduler(TaskSchedulerBuilder builder) |
TaskSchedulerBuilder |
taskSchedulerBuilder(TaskSchedulingProperties properties,
ObjectProvider<TaskSchedulerCustomizer> taskSchedulerCustomizers) |
@Bean @ConditionalOnBean(name="org.springframework.context.annotation.internalScheduledAnnotationProcessor") @ConditionalOnMissingBean(value={org.springframework.scheduling.annotation.SchedulingConfigurer.class,org.springframework.scheduling.TaskScheduler.class,java.util.concurrent.ScheduledExecutorService.class}) public ThreadPoolTaskScheduler taskScheduler(TaskSchedulerBuilder builder)
@Bean @ConditionalOnBean(name="org.springframework.context.annotation.internalScheduledAnnotationProcessor") public static LazyInitializationExcludeFilter scheduledBeanLazyInitializationExcludeFilter()
@Bean @ConditionalOnMissingBean public TaskSchedulerBuilder taskSchedulerBuilder(TaskSchedulingProperties properties, ObjectProvider<TaskSchedulerCustomizer> taskSchedulerCustomizers)