Java Code Examples for org.quartz.SchedulerListener#jobAdded()
The following examples show how to use
org.quartz.SchedulerListener#jobAdded() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: QuartzScheduler.java From AsuraFramework with Apache License 2.0 | 6 votes |
public void notifySchedulerListenersJobAdded(JobDetail jobDetail) { // build a list of all job listeners that are to be notified... List schedListeners = getSchedulerListeners(); // notify all scheduler listeners java.util.Iterator itr = schedListeners.iterator(); while (itr.hasNext()) { SchedulerListener sl = (SchedulerListener) itr.next(); try { sl.jobAdded(jobDetail); } catch (Exception e) { getLog().error( "Error while notifying SchedulerListener of JobAdded.", e); } } }
Example 2
Source File: BroadcastSchedulerListener.java From lams with GNU General Public License v2.0 | 5 votes |
public void jobAdded(JobDetail jobDetail) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.jobAdded(jobDetail); } }
Example 3
Source File: QuartzScheduler.java From lams with GNU General Public License v2.0 | 5 votes |
public void notifySchedulerListenersJobAdded(JobDetail jobDetail) { // build a list of all scheduler listeners that are to be notified... List<SchedulerListener> schedListeners = buildSchedulerListenerList(); // notify all scheduler listeners for(SchedulerListener sl: schedListeners) { try { sl.jobAdded(jobDetail); } catch (Exception e) { getLog().error( "Error while notifying SchedulerListener of JobAdded.", e); } } }
Example 4
Source File: BroadcastSchedulerListener.java From AsuraFramework with Apache License 2.0 | 5 votes |
public void jobAdded(JobDetail jobDetail) { Iterator itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = (SchedulerListener) itr.next(); l.jobAdded(jobDetail); } }