本文整理了Java中org.quartz.Scheduler.addJobListener()
方法的一些代码示例,展示了Scheduler.addJobListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Scheduler.addJobListener()
方法的具体详情如下:
包路径:org.quartz.Scheduler
类名称:Scheduler
方法名:addJobListener
[英]Add the given JobListener
to the Scheduler
's list, of registered JobListener
s.
[中]将给定的JobListener
添加到Scheduler
的注册JobListener
的列表中。
代码示例来源:origin: org.rhq/rhq-enterprise-server
public void addJobListener(JobListener jobListener) throws SchedulerException {
this.scheduler.addJobListener(jobListener);
}
代码示例来源:origin: org.rhq/rhq-enterprise-server
public void addJobListener(JobListener jobListener) throws SchedulerException {
scheduler.addJobListener(jobListener);
}
代码示例来源:origin: org.kuali.kfs/kfs-core
/**
* @see org.springframework.scheduling.quartz.SchedulerFactoryBean#createScheduler(org.quartz.SchedulerFactory, java.lang.String)
*/
@Override
protected Scheduler createScheduler(SchedulerFactory schedulerFactory, String schedulerName) throws SchedulerException {
Scheduler scheduler = super.createScheduler(schedulerFactory, schedulerName);
scheduler.addJobListener(new MessageServiceExecutorJobListener());
return scheduler;
}
代码示例来源:origin: quartz/quartz-all
JobListener listener = (JobListener) itr.next();
getLog().info("adding listener "+listener.getName()+" of class "+listener.getClass().getName());
sched.addJobListener(listener);
代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz
JobListener listener = (JobListener) itr.next();
getLog().info("adding listener "+listener.getName()+" of class "+listener.getClass().getName());
sched.addJobListener(listener);
内容来源于网络,如有侵权,请联系作者删除!