public class Job1Listener extends Object implements JobListener
| Constructor and Description |
|---|
Job1Listener() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the name of the
JobListener. |
void |
jobExecutionVetoed(JobExecutionContext inContext)
Called by the
when a
was about to be executed (an associated
has occurred), but a vetoed it's
execution. |
void |
jobToBeExecuted(JobExecutionContext inContext)
|
void |
jobWasExecuted(JobExecutionContext inContext,
JobExecutionException inException)
|
public String getName()
JobListener
Get the name of the JobListener.
getName in interface JobListenerpublic void jobToBeExecuted(JobExecutionContext inContext)
JobListener
Called by the when a Scheduler
is about to be executed (an associated JobDetail
has occurred).
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 inContext)
JobListener
Called by the when a Scheduler
was about to be executed (an associated JobDetail
has occurred), but a Trigger vetoed it's
execution.
TriggerListener
jobExecutionVetoed in interface JobListenerJobListener.jobToBeExecuted(JobExecutionContext)public void jobWasExecuted(JobExecutionContext inContext, JobExecutionException inException)
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 JobListenerCopyright © 2011. All Rights Reserved.