java.lang.Object
fr.paris.lutece.plugins.scheduler.quartz.job.DaemonJob
All Implemented Interfaces:
org.quartz.Job

@DisallowConcurrentExecution public class DaemonJob extends Object implements org.quartz.Job
Job Class that delegates the job execution to a Lutece Daemon
  • Constructor Summary

    Constructors
    Constructor
    Description
    DaemonJob(fr.paris.lutece.portal.service.daemon.Daemon daemon)
    Create a new DelegatingJob.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.quartz.JobExecutionContext context)
    Delegates execution to the underlying Runnable.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DaemonJob

      public DaemonJob(fr.paris.lutece.portal.service.daemon.Daemon daemon)
      Create a new DelegatingJob.
      Parameters:
      daemon - the Runnable implementation to delegate to
  • Method Details

    • execute

      public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
      Delegates execution to the underlying Runnable.
      Specified by:
      execute in interface org.quartz.Job
      Throws:
      org.quartz.JobExecutionException