| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.scheduling.quartz.DelegatingJob
public class DelegatingJob
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.
SpringBeanJobFactory, 
Job.execute(org.quartz.JobExecutionContext)| Constructor Summary | |
|---|---|
| DelegatingJob(Runnable delegate)Create a new DelegatingJob. | |
| Method Summary | |
|---|---|
|  void | execute(JobExecutionContext context)Delegates execution to the underlying Runnable. | 
|  Runnable | getDelegate()Return the wrapped Runnable implementation. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DelegatingJob(Runnable delegate)
delegate - the Runnable implementation to delegate to| Method Detail | 
|---|
public final Runnable getDelegate()
public void execute(JobExecutionContext context)
             throws JobExecutionException
execute in interface JobJobExecutionException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||