Optional interface to be implemented by @
org.springframework.context.annotation.Configuration 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 @
Scheduledannotation. For example, this may be necessary when implementing
org.springframework.scheduling.Trigger-based tasks, which are not supported by
the
@Scheduled annotation.
See @
EnableScheduling for detailed usage examples.