|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.quartz Interface Job
- All Known Subinterfaces:
- InterruptableJob, StatefulJob
- All Known Implementing Classes:
- DirectoryScanJob, EJBInvokerJob, FileScanJob, JMXInvokerJob, NativeJob, NoOpJob, SendDestinationMessageJob, SendMailJob, SendQueueMessageJob, SendTopicMessageJob
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.
- Author:
- James House
- See Also:
JobDetail
,JobBuilder
,ExecuteInJTATransaction
,DisallowConcurrentExecution
,PersistJobDataAfterExecution
,Trigger
,Scheduler
Method Summary | |
---|---|
void |
execute(JobExecutionContext context)
Called by the
Scheduler when a
Trigger
fires that is associated with the Job . |
Method Detail |
---|
execute
void execute(JobExecutionContext context) throws JobExecutionException
Called by the
Scheduler
when aTrigger
fires that is associated with theJob
.The implementation may wish to set a
result
object on theJobExecutionContext
before this method exits. The result itself is meaningless to Quartz, but may be informative toJobListener
s orTriggerListener
s that are watching the job's execution.- Throws:
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 |
Copyright 2001-2011, Terracotta, Inc.