类 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.- 从以下版本开始:
- 3.1
- 作者:
- Chris Beams
- 另请参阅:
EnableScheduling
,ScheduledAnnotationBeanPostProcessor
构造器详细资料
SchedulingConfiguration
public SchedulingConfiguration()
方法详细资料
scheduledAnnotationProcessor
@Bean(name="org.springframework.context.annotation.internalScheduledAnnotationProcessor") @Role(2) public ScheduledAnnotationBeanPostProcessor scheduledAnnotationProcessor()