|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchedulingConfigurer
Optional interface to be implemented by @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
Method Summary | |
---|---|
void |
configureTasks(ScheduledTaskRegistrar taskRegistrar)
Callback allowing a TaskScheduler and specific Task
instances to be registered against the given the ScheduledTaskRegistrar |
Method Detail |
---|
void configureTasks(ScheduledTaskRegistrar taskRegistrar)
TaskScheduler
and specific Task
instances to be registered against the given the ScheduledTaskRegistrar
taskRegistrar
- the registrar to be configured.
|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |