类 SchedulingConfiguration
- java.lang.Object
- org.springframework.scheduling.annotation.SchedulingConfiguration
@Configuration @Role(2) public class SchedulingConfiguration extends Object
@Configurationclass that registers aScheduledAnnotationBeanPostProcessorbean capable of processing Spring's @Scheduledannotation.This configuration class is automatically imported when using the
@EnableSchedulingannotation. 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()