|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.quartz.ee.ejb.EJBInvokerJob
org.quartz.jobs.ee.ejb.
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:
EJB_JNDI_NAME_KEY- the JNDI name (location) of the
EJB's home interface.EJB_METHOD_KEY- the name of the method to invoke on the
EJB.EJB_ARGS_KEY- an Object[] of the args to pass to the
method.
| 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 when a
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 |
public static final java.lang.String EJB_JNDI_NAME_KEY
public static final java.lang.String EJB_METHOD_KEY
public static final java.lang.String EJB_ARGS_KEY
| Constructor Detail |
public EJBInvokerJob()
| Method Detail |
public void execute(JobExecutionContext context)
throws JobExecutionException
Job
Called by the when a Scheduler
fires that is associated with the TriggerJob.
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
or
JobListeners that are watching the job's
execution.
TriggerListeners
execute in interface Joborg.quartz.JobJobExecutionException - if there is an exception while executing the job.
|
Quartz Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||