org.quartz.examples.example11
Class SimpleJob

java.lang.Object
  extended by org.quartz.examples.example11.SimpleJob
All Implemented Interfaces:
Job

public class SimpleJob
extends Object
implements Job

This is just a simple job that gets fired off many times by example 1

Author:
Bill Kratzer

Field Summary
static String DELAY_TIME
           
 
Constructor Summary
SimpleJob()
          Empty constructor for job initilization
 
Method Summary
 void execute(JobExecutionContext context)
           Called by the Scheduler when a Trigger 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
 

Field Detail

DELAY_TIME

public static final String DELAY_TIME
See Also:
Constant Field Values
Constructor Detail

SimpleJob

public SimpleJob()
Empty constructor for job initilization

Method Detail

execute

public void execute(JobExecutionContext context)
             throws JobExecutionException

Called by the Scheduler when a Trigger fires that is associated with the Job.

Specified by:
execute in interface Job
Throws:
JobExecutionException - if there is an exception while executing the job.


Copyright © 2010. All Rights Reserved.