public class ContextLifecycleScheduledTaskRegistrar extends ScheduledTaskRegistrar implements org.springframework.beans.factory.SmartInitializingSingleton
ScheduledTaskRegistrar subclass which redirects the actual scheduling
of tasks to the afterSingletonsInstantiated() callback (as of 4.1.2).| Constructor and Description |
|---|
ContextLifecycleScheduledTaskRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Calls
ScheduledTaskRegistrar.scheduleTasks() at bean construction time. |
void |
afterSingletonsInstantiated() |
addCronTask, addCronTask, addFixedDelayTask, addFixedDelayTask, addFixedRateTask, addFixedRateTask, addTriggerTask, addTriggerTask, destroy, getCronTaskList, getFixedDelayTaskList, getFixedRateTaskList, getScheduler, getTriggerTaskList, hasTasks, scheduleCronTask, scheduleFixedDelayTask, scheduleFixedRateTask, scheduleTasks, scheduleTriggerTask, setCronTasks, setCronTasksList, setFixedDelayTasks, setFixedDelayTasksList, setFixedRateTasks, setFixedRateTasksList, setScheduler, setTaskScheduler, setTriggerTasks, setTriggerTasksListpublic ContextLifecycleScheduledTaskRegistrar()
public void afterPropertiesSet()
ScheduledTaskRegistrarScheduledTaskRegistrar.scheduleTasks() at bean construction time.afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class ScheduledTaskRegistrarpublic void afterSingletonsInstantiated()
afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingleton