@ConditionalOnClass(value=org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.class) @Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=TaskSchedulingProperties.class) @AutoConfigureAfter(value=TaskExecutionAutoConfiguration.class) public class TaskSchedulingAutoConfiguration extends java.lang.Object
Auto-configuration
for TaskScheduler
.Constructor and Description |
---|
TaskSchedulingAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.boot.LazyInitializationExcludeFilter |
scheduledBeanLazyInitializationExcludeFilter() |
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler |
taskScheduler(org.springframework.boot.task.TaskSchedulerBuilder builder) |
org.springframework.boot.task.TaskSchedulerBuilder |
taskSchedulerBuilder(TaskSchedulingProperties properties,
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.task.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 org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler(org.springframework.boot.task.TaskSchedulerBuilder builder)
@Bean public static org.springframework.boot.LazyInitializationExcludeFilter scheduledBeanLazyInitializationExcludeFilter()
@Bean @ConditionalOnMissingBean public org.springframework.boot.task.TaskSchedulerBuilder taskSchedulerBuilder(TaskSchedulingProperties properties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.task.TaskSchedulerCustomizer> taskSchedulerCustomizers)