Class DaemonJob
java.lang.Object
fr.paris.lutece.plugins.scheduler.quartz.job.DaemonJob
- All Implemented Interfaces:
org.quartz.Job
Job Class that delegates the job execution to a Lutece Daemon
-
Constructor Summary
ConstructorsConstructorDescriptionDaemonJob(fr.paris.lutece.portal.service.daemon.Daemon daemon) Create a new DelegatingJob. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.quartz.JobExecutionContext context) Delegates execution to the underlying Runnable.
-
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:
executein interfaceorg.quartz.Job- Throws:
org.quartz.JobExecutionException
-