FileDocCategorySizeDatePackage
QuartzTimerJob.javaAPI DocJBoss 4.2.11807Fri Jul 13 20:53:54 BST 2007org.jboss.ejb3.timerservice.quartz

QuartzTimerJob

public class QuartzTimerJob extends Object implements org.quartz.Job
Comment
author
Carlo de Wolf
version
$Revision: 60233 $

Fields Summary
Constructors Summary
Methods Summary
public voidexecute(org.quartz.JobExecutionContext context)

      PersistentTimer timer = (PersistentTimer) context.getJobDetail().getJobDataMap().get("timer");
      TimedObjectInvoker invoker = timer.getTimedObjectInvoker();
      try {
         invoker.callTimeout(timer.getTimer());
      }
      catch(Exception e) {
         throw new JobExecutionException(e);
      }