@Configuration @Role(value=2) public class SchedulingConfiguration extends 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,
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()