|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quartz.examples.example1.HelloJob
public class HelloJob
This is just a simple job that says "Hello" to the world.
Constructor Summary | |
---|---|
HelloJob()
Empty constructor for job initilization |
Method Summary | |
---|---|
void |
execute(JobExecutionContext context)
Called by the when a
fires that is associated with
the Job . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HelloJob()
Empty constructor for job initilization
Quartz requires a public empty constructor so that the scheduler can instantiate the class whenever it needs.
Method Detail |
---|
public void execute(JobExecutionContext context) throws JobExecutionException
Called by the
when a
Scheduler
fires that is associated with
the Trigger
Job
.
execute
in interface Job
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 |