org.quartz.ee.ejb
Class EJBInvokerJob

java.lang.Object
  extended byorg.quartz.ee.ejb.EJBInvokerJob
All Implemented Interfaces:
Job

public class EJBInvokerJob
extends java.lang.Object
implements Job

A Job that invokes a method on an EJB.

Expects the following properties to be in the JobDataMap when it executes:

Author:
Andrew Collins, James House

Constructor Summary
EJBInvokerJob()
           
 
Method Summary
 void execute(JobExecutionContext context)
          Called by the Scheduler when a Trigger fires that is associated with the Job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBInvokerJob

public EJBInvokerJob()
Method Detail

execute

public void execute(JobExecutionContext context)
             throws JobExecutionException
Description copied from interface: Job

Called by the Scheduler when a Trigger fires that is associated with the Job.

Specified by:
execute in interface Job
Returns:
void (nothing) if job is successful.
Throws:
JobExecutionException - if there is an exception while executing the job.


Copyright James House (c) 2001-2004