Package io.jmix.quartz.listener
Class JobExecutionListener
java.lang.Object
org.quartz.listeners.JobListenerSupport
io.jmix.quartz.listener.JobExecutionListener
- All Implemented Interfaces:
org.quartz.JobListener
@Component("quartz_JobExecutionListener")
public class JobExecutionListener
extends org.quartz.listeners.JobListenerSupport
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected QuartzProperties
protected RunningJobsCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
jobToBeExecuted
(org.quartz.JobExecutionContext context) void
jobWasExecuted
(org.quartz.JobExecutionContext context, org.quartz.JobExecutionException jobException) Methods inherited from class org.quartz.listeners.JobListenerSupport
getLog, jobExecutionVetoed
-
Field Details
-
QUARTZ_JOB_EXECUTION_LISTENER
- See Also:
-
runningJobCache
-
quartzProperties
-
-
Constructor Details
-
JobExecutionListener
public JobExecutionListener()
-
-
Method Details
-
getName
-
jobToBeExecuted
public void jobToBeExecuted(org.quartz.JobExecutionContext context) - Specified by:
jobToBeExecuted
in interfaceorg.quartz.JobListener
- Overrides:
jobToBeExecuted
in classorg.quartz.listeners.JobListenerSupport
-
jobWasExecuted
public void jobWasExecuted(org.quartz.JobExecutionContext context, org.quartz.JobExecutionException jobException) - Specified by:
jobWasExecuted
in interfaceorg.quartz.JobListener
- Overrides:
jobWasExecuted
in classorg.quartz.listeners.JobListenerSupport
-