@ConditionalOnClass(value=org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.class) @Configuration @EnableConfigurationProperties(value=TaskSchedulingProperties.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 © 2018 Pivotal Software, Inc.. All rights reserved.