|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quartz.examples.example9.Job1Listener
public class Job1Listener
Constructor Summary | |
---|---|
Job1Listener()
|
Method Summary | |
---|---|
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 occured), but a vetoed it's
execution. |
void |
jobToBeExecuted(JobExecutionContext inContext)
Called by the when a
is about to be executed (an associated
has occured). |
void |
jobWasExecuted(JobExecutionContext inContext,
JobExecutionException inException)
Called by the after a
has been executed, and be for the associated Trigger 's
triggered(xx) method has been called. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Job1Listener()
Method Detail |
---|
public String getName()
JobListener
Get the name of the JobListener
.
getName
in interface JobListener
public void jobToBeExecuted(JobExecutionContext inContext)
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 JobListener
JobListener.jobExecutionVetoed(JobExecutionContext)
public void jobExecutionVetoed(JobExecutionContext inContext)
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 JobListener
JobListener.jobToBeExecuted(JobExecutionContext)
public void jobWasExecuted(JobExecutionContext inContext, JobExecutionException inException)
JobListener
Called by the
after a Scheduler
has been executed, and be for the associated JobDetail
Trigger
's
triggered(xx)
method has been called.
jobWasExecuted
in interface JobListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |