spring-framework / org.springframework.scheduling.annotation / SchedulingConfiguration

SchedulingConfiguration

@Configuration @Role(2) open class SchedulingConfiguration

@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's javadoc for complete usage details.

Author
Chris Beams

Since
3.1

See Also
EnableSchedulingScheduledAnnotationBeanPostProcessor

Constructors

<init>

SchedulingConfiguration()

@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's javadoc for complete usage details.

Functions

scheduledAnnotationProcessor

open fun scheduledAnnotationProcessor(): ScheduledAnnotationBeanPostProcessor