|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobListener
The interface to be implemented by classes that want to be informed when a
executes. In general,
applications that use a JobDetailScheduler will not have use for this
mechanism.
ListenerManager.addJobListener(JobListener, Matcher),
Matcher,
Job,
JobExecutionContext,
JobExecutionException,
TriggerListener| Method Summary | |
|---|---|
String |
getName()
Get the name of the JobListener. |
void |
jobExecutionVetoed(JobExecutionContext context)
Called by the when a
was about to be executed (an associated
has occurred), but a vetoed it's
execution. |
void |
jobToBeExecuted(JobExecutionContext context)
Called by the when a
is about to be executed (an associated
has occurred). |
void |
jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
Called by the after a
has been executed, and be for the associated Trigger's
triggered(xx) method has been called. |
| Method Detail |
|---|
String getName()
Get the name of the JobListener.
void jobToBeExecuted(JobExecutionContext context)
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
jobExecutionVetoed(JobExecutionContext)void jobExecutionVetoed(JobExecutionContext context)
Called by the when a Scheduler
was about to be executed (an associated JobDetail
has occurred), but a Trigger vetoed it's
execution.
TriggerListener
jobToBeExecuted(JobExecutionContext)
void jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
Called by the after a Scheduler
has been executed, and be for the associated JobDetailTrigger's
triggered(xx) method has been called.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||