@Configuration classes annotated
with @EnableScheduling. Typically used for setting a specific
TaskScheduler bean to be used when
executing scheduled tasks or for registering scheduled tasks in a programmatic
fashion as opposed to the declarative approach of using the
@Scheduled annotation. For example, this may be necessary
when implementing Trigger-based
tasks, which are not supported by the @Scheduled annotation.
See @EnableScheduling for detailed usage examples.
EnableScheduling, ScheduledTaskRegistrar
| Modifier and Type | Method and Description |
|---|---|
| public void | configureTasks(ScheduledTaskRegistrar
the registrar to be configured taskRegistrar)Callback allowing a |
| configureTasks | back to summary |
|---|---|
| public void configureTasks(ScheduledTaskRegistrar taskRegistrar) Callback allowing a
| |