Class DelegatingJob
java.lang.Object
org.springframework.scheduling.quartz.DelegatingJob
- All Implemented Interfaces:
Job
-
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
-