@Configuration public class SchedulingConfiguration extends java.lang.Object
@Configuration
class that registers a ScheduledAnnotationBeanPostProcessor
bean capable of processing Spring's @Scheduled
annotation.
This configuration class is automatically imported when using the @EnableScheduling
annotation. See @EnableScheduling
Javadoc for complete usage
details.
EnableScheduling
,
ScheduledAnnotationBeanPostProcessor
Constructor and Description |
---|
SchedulingConfiguration() |
Modifier and Type | Method and Description |
---|---|
ScheduledAnnotationBeanPostProcessor |
scheduledAnnotationProcessor() |
@Bean(name="org.springframework.context.annotation.internalScheduledAnnotationProcessor") @Role(value=2) public ScheduledAnnotationBeanPostProcessor scheduledAnnotationProcessor()