@ConditionalOnClass(value=org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.class) @AutoConfiguration(after=TaskExecutionAutoConfiguration.class) @EnableConfigurationProperties(value=TaskSchedulingProperties.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 public static LazyInitializationExcludeFilter scheduledBeanLazyInitializationExcludeFilter()
@Bean @ConditionalOnMissingBean public TaskSchedulerBuilder taskSchedulerBuilder(TaskSchedulingProperties properties, ObjectProvider<TaskSchedulerCustomizer> taskSchedulerCustomizers)