Save This Page
Home » quartz-1.6.0 » org.quartz.jobs.ee » ejb » [javadoc | source]
org.quartz.jobs.ee.ejb
public class: EJBInvokerJob [javadoc | source]
java.lang.Object
   org.quartz.jobs.ee.ejb.EJBInvokerJob

All Implemented Interfaces:
    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:


The following keys can also be used at need:

The result of the EJB method invocation will be available to Job/TriggerListeners via org.quartz.JobExecutionContext#getResult() .

Field Summary
public static final  String EJB_JNDI_NAME_KEY     
public static final  String EJB_METHOD_KEY     
public static final  String EJB_ARG_TYPES_KEY     
public static final  String EJB_ARGS_KEY     
public static final  String INITIAL_CONTEXT_FACTORY     
public static final  String PROVIDER_URL     
public static final  String PRINCIPAL     
public static final  String CREDENTIALS     
Constructor:
 public EJBInvokerJob() 
Method from org.quartz.jobs.ee.ejb.EJBInvokerJob Summary:
execute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.jobs.ee.ejb.EJBInvokerJob Detail:
 public  void execute(JobExecutionContext context) throws JobExecutionException