java.lang.Object | |
↳ | org.springframework.scheduling.config.ScheduledTaskRegistrar |
Helper bean for registering tasks with a TaskScheduler
,
typically using cron expressions.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
| |||||||||||
Invoked by a BeanFactory on destruction of a singleton.
| |||||||||||
Specify triggered tasks as a Map of Runnables (the tasks) and cron expressions.
| |||||||||||
Specify triggered tasks as a Map of Runnables (the tasks) and fixed-delay values.
| |||||||||||
Specify triggered tasks as a Map of Runnables (the tasks) and fixed-rate values.
| |||||||||||
Set the
TaskScheduler to register scheduled
tasks with, or a ScheduledExecutorService to be
wrapped as a TaskScheduler. | |||||||||||
Set the TaskScheduler to register scheduled tasks with.
| |||||||||||
Specify triggered tasks as a Map of Runnables (the tasks) and Trigger objects
(typically custom implementations of the
Trigger interface). |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.DisposableBean
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
|
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
Invoked by a BeanFactory on destruction of a singleton.
Specify triggered tasks as a Map of Runnables (the tasks) and cron expressions.
Specify triggered tasks as a Map of Runnables (the tasks) and fixed-delay values.
Specify triggered tasks as a Map of Runnables (the tasks) and fixed-rate values.
Set the TaskScheduler
to register scheduled
tasks with, or a ScheduledExecutorService
to be
wrapped as a TaskScheduler.
Set the TaskScheduler to register scheduled tasks with.
Specify triggered tasks as a Map of Runnables (the tasks) and Trigger objects
(typically custom implementations of the Trigger
interface).