/* */ package org.jboss.ejb3.timerservice.quartz;
/* */
/* */ import org.jboss.ejb3.timerservice.TimedObjectInvoker;
/* */ import org.quartz.Job;
/* */ import org.quartz.JobDataMap;
/* */ import org.quartz.JobDetail;
/* */ import org.quartz.JobExecutionContext;
/* */ import org.quartz.JobExecutionException;
/* */
/* */ public class QuartzTimerJob
/* */ implements Job
/* */ {
/* */ public void execute(JobExecutionContext context)
/* */ throws JobExecutionException
/* */ {
/* 39 */ PersistentTimer timer = (PersistentTimer)context.getJobDetail().getJobDataMap().get("timer");
/* 40 */ TimedObjectInvoker invoker = timer.getTimedObjectInvoker();
/* */ try {
/* 42 */ invoker.callTimeout(timer.getTimer());
/* */ }
/* */ catch (Exception e) {
/* 45 */ throw new JobExecutionException(e);
/* */ }
/* */ }
/* */ }
/* Location: /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name: org.jboss.ejb3.timerservice.quartz.QuartzTimerJob
* JD-Core Version: 0.6.0
*/