类的使用
org.springframework.scheduling.config.ScheduledTaskRegistrar
使用ScheduledTaskRegistrar的程序包 程序包 说明 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中ScheduledTaskRegistrar的使用
参数类型为ScheduledTaskRegistrar的org.springframework.scheduling.annotation中的方法 修饰符和类型 方法 说明 void
SchedulingConfigurer. configureTasks(ScheduledTaskRegistrar taskRegistrar)
Callback allowing aTaskScheduler
and specificTask
instances to be registered against the given theScheduledTaskRegistrar
.参数类型为ScheduledTaskRegistrar的org.springframework.scheduling.annotation中的构造器 构造器 说明 ScheduledAnnotationBeanPostProcessor(ScheduledTaskRegistrar registrar)
Create aScheduledAnnotationBeanPostProcessor
delegating to the specifiedScheduledTaskRegistrar
.org.springframework.scheduling.config中ScheduledTaskRegistrar的使用
org.springframework.scheduling.config中ScheduledTaskRegistrar的子类 修饰符和类型 类 说明 class
ContextLifecycleScheduledTaskRegistrar
ScheduledTaskRegistrar
subclass which redirects the actual scheduling of tasks to theContextLifecycleScheduledTaskRegistrar.afterSingletonsInstantiated()
callback (as of 4.1.2).