本文整理了Java中org.quartz.core.QuartzScheduler.getGlobalJobListeners
方法的一些代码示例,展示了QuartzScheduler.getGlobalJobListeners
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QuartzScheduler.getGlobalJobListeners
方法的具体详情如下:
包路径:org.quartz.core.QuartzScheduler
类名称:QuartzScheduler
方法名:getGlobalJobListeners
[英]Get a List containing all of the org.quartz.JobListener
s in the Scheduler
'sglobal list.
[中]获取一个包含Scheduler
全局列表中所有org.quartz.JobListener
的列表。
代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz
/**
* <p>
* Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
* </p>
*/
public List getGlobalJobListeners() {
return sched.getGlobalJobListeners();
}
代码示例来源:origin: quartz/quartz-all
/**
* <p>
* Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
* </p>
*/
public List getGlobalJobListeners() {
return sched.getGlobalJobListeners();
}
代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz
private List buildJobListenerList(String[] additionalLstnrs)
throws SchedulerException {
List jobListeners = getGlobalJobListeners();
for (int i = 0; i < additionalLstnrs.length; i++) {
JobListener jl = getJobListener(additionalLstnrs[i]);
if (jl != null) {
jobListeners.add(jl);
} else {
throw new SchedulerException("JobListener '"
+ additionalLstnrs[i] + "' not found.",
SchedulerException.ERR_JOB_LISTENER_NOT_FOUND);
}
}
return jobListeners;
}
代码示例来源:origin: quartz/quartz-all
private List buildJobListenerList(String[] additionalLstnrs)
throws SchedulerException {
List jobListeners = getGlobalJobListeners();
for (int i = 0; i < additionalLstnrs.length; i++) {
JobListener jl = getJobListener(additionalLstnrs[i]);
if (jl != null) {
jobListeners.add(jl);
} else {
throw new SchedulerException("JobListener '"
+ additionalLstnrs[i] + "' not found.",
SchedulerException.ERR_JOB_LISTENER_NOT_FOUND);
}
}
return jobListeners;
}
内容来源于网络,如有侵权,请联系作者删除!