public abstract class JobListenerSupport extends java.lang.Object implements JobListener
JobListener.
The methods in this class are empty so you only need to override the
subset for the events
you care about.
JobListener
You are required to implement
to return the unique name of your JobListener.getName()JobListener.
JobListener| Constructor and Description |
|---|
JobListenerSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
jobExecutionVetoed(JobExecutionContext context)
Called by the
when a
was about to be executed (an associated
has occured), but a vetoed it's
execution. |
void |
jobToBeExecuted(JobExecutionContext context)
|
void |
jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic void jobToBeExecuted(JobExecutionContext context)
JobListener
Called by the when a Scheduler
is about to be executed (an associated JobDetail
has occured).
Trigger
This method will not be invoked if the execution of the Job was vetoed
by a .
TriggerListener
jobToBeExecuted in interface JobListenerJobListener.jobExecutionVetoed(JobExecutionContext)public void jobExecutionVetoed(JobExecutionContext context)
JobListener
Called by the when a Scheduler
was about to be executed (an associated JobDetail
has occured), but a Trigger vetoed it's
execution.
TriggerListener
jobExecutionVetoed in interface JobListenerJobListener.jobToBeExecuted(JobExecutionContext)public void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException)
JobListener
Called by the after a Scheduler
has been executed, and be for the associated JobDetailTrigger's
triggered(xx) method has been called.
jobWasExecuted in interface JobListener