org.quartz.ee.ejb
Class EJBInvokerJob

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

Deprecated. This class has been repackaged at org.quartz.jobs.ee.ejb.

public class EJBInvokerJob
extends java.lang.Object
implements Job

A Job that invokes a method on an EJB.

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

Author:
Andrew Collins, James House

Field Summary
static java.lang.String EJB_ARGS_KEY
          Deprecated.  
static java.lang.String EJB_JNDI_NAME_KEY
          Deprecated.  
static java.lang.String EJB_METHOD_KEY
          Deprecated.  
 
Constructor Summary
EJBInvokerJob()
          Deprecated.  
 
Method Summary
 void execute(JobExecutionContext context)
          Deprecated.  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
 

Field Detail

EJB_JNDI_NAME_KEY

public static final java.lang.String EJB_JNDI_NAME_KEY
Deprecated. 
See Also:
Constant Field Values

EJB_METHOD_KEY

public static final java.lang.String EJB_METHOD_KEY
Deprecated. 
See Also:
Constant Field Values

EJB_ARGS_KEY

public static final java.lang.String EJB_ARGS_KEY
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

EJBInvokerJob

public EJBInvokerJob()
Deprecated. 
Method Detail

execute

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

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

The implementation may wish to set a result object on the JobExecutionContext before this method exits. The result itself is meaningless to Quartz, but may be informative to JobListeners or TriggerListeners that are watching the job's execution.

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

Quartz Project Page