org.quartz.examples.example3
public class: SimpleJob [javadoc |
source]
java.lang.Object
org.quartz.examples.example3.SimpleJob
All Implemented Interfaces:
Job
This is just a simple job that gets fired off many times by example 1
| Constructor: |
public SimpleJob() {
}
Quartz requires a public empty constructor so that the
scheduler can instantiate the class whenever it needs. |
| Method from org.quartz.examples.example3.SimpleJob Summary: |
|---|
|
execute |
| Method from org.quartz.examples.example3.SimpleJob Detail: |
public void execute(JobExecutionContext context) throws JobExecutionException {
// This job simply prints out its job name and the
// date and time that it is running
String jobName = context.getJobDetail().getFullName();
_log.info("SimpleJob says: " + jobName + " executing at " + new Date());
}
|