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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute(JobExecutionContext context) Delegates execution to the underlying Runnable.final RunnableReturn the wrapped Runnable implementation.
- 
Constructor Details- 
DelegatingJobCreate a new DelegatingJob.- Parameters:
- delegate- the Runnable implementation to delegate to
 
 
- 
- 
Method Details- 
getDelegateReturn the wrapped Runnable implementation.
- 
executeDelegates execution to the underlying Runnable.- Specified by:
- executein interface- Job
- Throws:
- JobExecutionException
 
 
-