Home » quartz-1.6.0 » org » quartz » [javadoc | source]
org.quartz
public interface: SchedulerListener [javadoc | source]

All Known Implementing Classes:
    QuartzServer, ErrorLogger, SchedulerListenerSupport, BroadcastSchedulerListener

The interface to be implemented by classes that want to be informed of major Scheduler events.

Method from org.quartz.SchedulerListener Summary:
jobScheduled,   jobUnscheduled,   jobsPaused,   jobsResumed,   schedulerError,   schedulerShutdown,   triggerFinalized,   triggersPaused,   triggersResumed
Method from org.quartz.SchedulerListener Detail:
 public  void jobScheduled(Trigger trigger)
 public  void jobUnscheduled(String triggerName,
    String triggerGroup)
 public  void jobsPaused(String jobName,
    String jobGroup)
 public  void jobsResumed(String jobName,
    String jobGroup)
 public  void schedulerError(String msg,
    SchedulerException cause)

    Called by the Scheduler when a serious error has occured within the scheduler - such as repeated failures in the JobStore, or the inability to instantiate a Job instance when its Trigger has fired.

    The getErrorCode() method of the given SchedulerException can be used to determine more specific information about the type of error that was encountered.

 public  void schedulerShutdown()

    Called by the Scheduler to inform the listener that it has shutdown.

 public  void triggerFinalized(Trigger trigger)

    Called by the Scheduler when a Trigger has reached the condition in which it will never fire again.

 public  void triggersPaused(String triggerName,
    String triggerGroup)

    Called by the Scheduler when a Trigger or group of Trigger s has been paused.

    If a group was paused, then the triggerName parameter will be null.

 public  void triggersResumed(String triggerName,
    String triggerGroup)

    Called by the Scheduler when a Trigger or group of Trigger s has been un-paused.

    If a group was resumed, then the triggerName parameter will be null.