The interface to be implemented by classes that want to be informed of major {@link Scheduler} events.
{@link Scheduler}
137138139140141142143144145
public void jobPaused(JobKey key) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.jobPaused(key); } }
145146147148149150151152153
} public void jobsPaused(String jobGroup) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.jobsPaused(jobGroup); } }
153154155156157158159160161
} public void jobResumed(JobKey key) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.jobResumed(key); } }
161162163164165166167168169
} public void jobsResumed(String jobGroup) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.jobsResumed(jobGroup); } }
169170171172173174175176177
} public void schedulerError(String msg, SchedulerException cause) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.schedulerError(msg, cause); } }
177178179180181182183184185
} public void schedulerStarted() { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.schedulerStarted(); } }
185186187188189190191192193
} public void schedulerStarting() { Iterator<SchedulerListener> itr = listeners.iterator(); while (itr.hasNext()) { SchedulerListener l = itr.next(); l.schedulerStarting(); } }
193194195196197198199200201
} public void schedulerInStandbyMode() { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.schedulerInStandbyMode(); } }
201202203204205206207208209
} public void schedulerShutdown() { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.schedulerShutdown(); } }
209210211212213214215216217
} public void schedulerShuttingdown() { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.schedulerShuttingdown(); } }