Class ScheduledTaskRegistrar

java.lang.Object
org.springframework.scheduling.config.ScheduledTaskRegistrar
All Implemented Interfaces:
DisposableBean, InitializingBean, ScheduledTaskHolder
Direct Known Subclasses:
ContextLifecycleScheduledTaskRegistrar

public class ScheduledTaskRegistrar extends Object implements ScheduledTaskHolder, InitializingBean, DisposableBean
Helper bean for registering tasks with a TaskScheduler, typically using cron expressions.

As of Spring 3.1, ScheduledTaskRegistrar has a more prominent user-facing role when used in conjunction with the @EnableAsync annotation and its SchedulingConfigurer callback interface.

Since:
3.0
Author:
Juergen Hoeller, Chris Beams, Tobias Montagna-Hay, Sam Brannen, Arjen Poutsma
See Also: