org.quartz.Job adapter that delegates to a
given java.lang.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)
| Access | Constructor and Description |
|---|---|
| public | DelegatingJob(Runnable
the Runnable implementation to delegate to delegate)Create a new DelegatingJob. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public final Runnable |
| delegate | back to summary |
|---|---|
| private final Runnable delegate | |
| DelegatingJob | back to summary |
|---|---|
| public DelegatingJob(Runnable delegate) Create a new DelegatingJob.
| |
| execute | back to summary |
|---|---|
| public void execute(org. Delegates execution to the underlying Runnable.
| |
| getDelegate | back to summary |
|---|---|
| public final Runnable getDelegate() Return the wrapped Runnable implementation. | |