@FunctionalInterface interface SchedulingConfigurer
Optional interface to be implemented by @ classes annotated with @EnableScheduling. Typically used for setting a specific org.springframework.scheduling.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 -based tasks, which are not supported by the @Scheduled annotation.
See @EnableScheduling for detailed usage examples.
Author
Chris Beams
Since
3.1
See Also
EnableSchedulingScheduledTaskRegistrar
abstract fun configureTasks(taskRegistrar: ScheduledTaskRegistrar): Unit
Callback allowing a org.springframework.scheduling.TaskScheduler and specific org.springframework.scheduling.config.Task instances to be registered against the given the ScheduledTaskRegistrar |