接口的使用
org.springframework.scheduling.config.ScheduledTaskHolder
使用ScheduledTaskHolder的程序包 程序包 说明 org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.scheduling.config Support package for declarative scheduling configuration, with XML schema being the primary configuration format.org.springframework.scheduling.annotation中ScheduledTaskHolder的使用
实现ScheduledTaskHolder的org.springframework.scheduling.annotation中的类 修饰符和类型 类 说明 class
ScheduledAnnotationBeanPostProcessor
Bean post-processor that registers methods annotated with @Scheduled
to be invoked by aTaskScheduler
according to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.org.springframework.scheduling.config中ScheduledTaskHolder的使用
实现ScheduledTaskHolder的org.springframework.scheduling.config中的类 修饰符和类型 类 说明 class
ContextLifecycleScheduledTaskRegistrar
ScheduledTaskRegistrar
subclass which redirects the actual scheduling of tasks to theContextLifecycleScheduledTaskRegistrar.afterSingletonsInstantiated()
callback (as of 4.1.2).class
ScheduledTaskRegistrar
Helper bean for registering tasks with aTaskScheduler
, typically using cron expressions.