Class TaskSchedulingAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.task.TaskSchedulingAutoConfiguration
@ConditionalOnClass(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.class)
@AutoConfiguration(after=TaskExecutionAutoConfiguration.class)
@EnableConfigurationProperties(TaskSchedulingProperties.class)
public class TaskSchedulingAutoConfiguration
extends Object
- Since:
- 2.1.0
- Author:
- Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontaskScheduler
(TaskSchedulerBuilder builder) taskSchedulerBuilder
(TaskSchedulingProperties properties, ObjectProvider<TaskSchedulerCustomizer> taskSchedulerCustomizers)
-
Constructor Details
-
TaskSchedulingAutoConfiguration
public TaskSchedulingAutoConfiguration()
-
-
Method Details
-
taskScheduler
@Bean @ConditionalOnBean(name="org.springframework.context.annotation.internalScheduledAnnotationProcessor") @ConditionalOnMissingBean({org.springframework.scheduling.annotation.SchedulingConfigurer.class,org.springframework.scheduling.TaskScheduler.class,java.util.concurrent.ScheduledExecutorService.class}) public ThreadPoolTaskScheduler taskScheduler(TaskSchedulerBuilder builder) -
scheduledBeanLazyInitializationExcludeFilter
-
taskSchedulerBuilder
@Bean @ConditionalOnMissingBean public TaskSchedulerBuilder taskSchedulerBuilder(TaskSchedulingProperties properties, ObjectProvider<TaskSchedulerCustomizer> taskSchedulerCustomizers)
-