public class DelegatingJob
extends java.lang.Object
org.quartz.Job adapter that delegates to a
given Runnable instance.
Typically used in combination with property injection on the Runnable instance, receiving parameters from the Quartz JobDataMap that way instead of via the JobExecutionContext.
SpringBeanJobFactory,
org.quartz.Job#execute(org.quartz.JobExecutionContext)| Modifier and Type | Field and Description |
|---|---|
private java.lang.Runnable |
delegate |
| Constructor and Description |
|---|
DelegatingJob(java.lang.Runnable delegate)
Create a new DelegatingJob.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(JobExecutionContext context)
Delegates execution to the underlying Runnable.
|
java.lang.Runnable |
getDelegate()
Return the wrapped Runnable implementation.
|