Class DelegatingJob

java.lang.Object
org.springframework.scheduling.quartz.DelegatingJob
All Implemented Interfaces:
Job

public class DelegatingJob extends Object implements 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 Details

    • DelegatingJob

      public DelegatingJob(Runnable delegate)
      Create a new DelegatingJob.
      Parameters:
      delegate - the Runnable implementation to delegate to
  • Method Details