Class DelegatingJob
java.lang.Object
org.springframework.scheduling.quartz.DelegatingJob
- All Implemented Interfaces:
 Job
Simple 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.
- Since:
 - 2.0
 - Author:
 - Juergen Hoeller
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(JobExecutionContext context) Delegates execution to the underlying Runnable.final RunnableReturn the wrapped Runnable implementation. 
- 
Constructor Details
- 
DelegatingJob
Create a new DelegatingJob.- Parameters:
 delegate- the Runnable implementation to delegate to
 
 - 
 - 
Method Details
- 
getDelegate
Return the wrapped Runnable implementation. - 
execute
Delegates execution to the underlying Runnable.- Specified by:
 executein interfaceJob- Throws:
 JobExecutionException
 
 -