@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 |
---|---|
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 @ConditionalOnMissingBean public TaskSchedulerBuilder taskSchedulerBuilder(TaskSchedulingProperties properties, ObjectProvider<TaskSchedulerCustomizer> taskSchedulerCustomizers)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.