Class SchedulingConfiguration
- java.lang.Object
- org.springframework.scheduling.annotation.SchedulingConfiguration
@Configuration @Role(2) public class SchedulingConfiguration extends Object
@Configuration
class that registers aScheduledAnnotationBeanPostProcessor
bean capable of processing Spring's @Scheduled
annotation.This configuration class is automatically imported when using the
@EnableScheduling
annotation. See@EnableScheduling
's javadoc for complete usage details.- Since:
- 3.1
- Author:
- Chris Beams
- See Also:
EnableScheduling
,ScheduledAnnotationBeanPostProcessor
Constructor Summary
Constructors Constructor Description SchedulingConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledAnnotationBeanPostProcessor
scheduledAnnotationProcessor()
Constructor Detail
SchedulingConfiguration
public SchedulingConfiguration()
Method Detail
scheduledAnnotationProcessor
@Bean(name="org.springframework.context.annotation.internalScheduledAnnotationProcessor") @Role(2) public ScheduledAnnotationBeanPostProcessor scheduledAnnotationProcessor()