JobFactory implementation that supports java.lang.Runnable
objects as well as standard Quartz org.quartz.Job instances.
Compatible with Quartz 2.1.4 and higher, as of Spring 4.1.
DelegatingJob, adaptJob(Object)
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected org. | |
| protected Object | Returns: the job instancethe TriggerFiredBundle from which the JobDetail
and other info relating to the trigger firing can be obtained bundleCreate an instance of the specified job class. |
| public org. |
| AdaptableJobFactory | back to summary |
|---|---|
| public AdaptableJobFactory() | |
| adaptJob | back to summary |
|---|---|
| protected org. Adapt the given job object to the Quartz Job interface. The default implementation supports straight Quartz Jobs as well as Runnables, which get wrapped in a DelegatingJob.
| |
| createJobInstance | back to summary |
|---|---|
| protected Object createJobInstance(org. Create an instance of the specified job class. Can be overridden to post-process the job instance. | |
| newJob | back to summary |
|---|---|
public org.
| |