类 ScheduledAnnotationBeanPostProcessor

java.lang.Object
cn.taketoday.scheduling.annotation.ScheduledAnnotationBeanPostProcessor
所有已实现的接口:
Aware, BeanFactoryAware, BeanNameAware, BeanPostProcessor, DestructionAwareBeanPostProcessor, DisposableBean, InitializationBeanPostProcessor, SmartInitializingSingleton, MergedBeanDefinitionPostProcessor, ApplicationListener<ContextRefreshedEvent>, ApplicationContextAware, EmbeddedValueResolverAware, cn.taketoday.core.Ordered, ScheduledTaskHolder, EventListener

Bean post-processor that registers methods annotated with @Scheduled to be invoked by a TaskScheduler according to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.

This post-processor is automatically registered by <task:annotation-driven> XML element, and also by the @EnableScheduling annotation.

Autodetects any SchedulingConfigurer instances in the container, allowing for customization of the scheduler to be used or for fine-grained control over task registration (e.g. registration of Trigger tasks). See the @EnableScheduling javadocs for complete usage details.

从以下版本开始:
4.0
作者:
Mark Fisher, Juergen Hoeller, Chris Beams, Elizabeth Chatman, Victor Brown, Sam Brannen
另请参阅: