Allows for registration of {@link ScheduledExecutorTask ScheduledExecutorTasks}, automatically starting the {@link ScheduledExecutorService} on initialization andcancelling it on destruction of the context. In scenarios that just require static registration of tasks at startup, there is no need to access the {@link ScheduledExecutorService} instance itself in application code.
Note that {@link java.util.concurrent.ScheduledExecutorService}uses a {@link Runnable} instance that is shared between repeated executions,in contrast to Quartz which instantiates a new Job for each execution.
This class is analogous to the {@link org.springframework.scheduling.timer.TimerFactoryBean}class for the JDK 1.3 {@link java.util.Timer} facility. @author Juergen Hoeller @since 2.0 @see ScheduledExecutorTask @see java.util.concurrent.ScheduledExecutorService @see java.util.concurrent.ScheduledThreadPoolExecutor @see org.springframework.scheduling.timer.TimerFactoryBean
|
|