Wednesday, 29 October 2014

Job interface


A Job is a class that implements org.quartz.Job interface. This interface contains one method “execute”.

public interface Job {
  public void execute(JobExecutionContext jec) throws JobExecutionException;
}

Whenever a job’s trigger fires, then execute method of this job is invoked by one of the worker threads of the scheduler.




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment