|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Job
The interface to be implemented by classes which represent a 'job' to be performed.
Instances of Job must have a public
no-argument constructor.
JobDataMap provides a mechanism for 'instance member data'
that may be required by some implementations of this interface.
JobDetail,
JobBuilder,
ExecuteInJTATransaction,
DisallowConcurrentExecution,
PersistJobDataAfterExecution,
Trigger,
Scheduler| Method Summary | |
|---|---|
void |
execute(JobExecutionContext context)
Called by the when a
fires that is associated with the Job. |
| Method Detail |
|---|
void execute(JobExecutionContext context)
throws JobExecutionException
Called by the when a Scheduler
fires that is associated with the TriggerJob.
The implementation may wish to set a
result object on the
JobExecutionContext before this method exits. The result itself
is meaningless to Quartz, but may be informative to
or
JobListeners that are watching the job's
execution.
TriggerListeners
JobExecutionException - if there is an exception while executing the job.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||