org.quartz.jobs.ee.ejb
Class EJB3InvokerJob

java.lang.Object
  extended by org.quartz.jobs.ee.ejb.EJBInvokerJob
      extended by org.quartz.jobs.ee.ejb.EJB3InvokerJob
All Implemented Interfaces:
org.quartz.Job

public class EJB3InvokerJob
extends EJBInvokerJob

A Job that invokes a method on an EJB3.

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 JobExecutionContext.getResult().

Author:
hhuynh
See Also:
org.quartz.jobs.ee.ejb.EJBInvokerJob}

Field Summary
 
Fields inherited from class org.quartz.jobs.ee.ejb.EJBInvokerJob
CREDENTIALS, EJB_ARG_TYPES_KEY, EJB_ARGS_KEY, EJB_JNDI_NAME_KEY, EJB_METHOD_KEY, INITIAL_CONTEXT_FACTORY, PRINCIPAL, PROVIDER_URL
 
Constructor Summary
EJB3InvokerJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
           
 
Methods inherited from class org.quartz.jobs.ee.ejb.EJBInvokerJob
getInitialContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJB3InvokerJob

public EJB3InvokerJob()
Method Detail

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Overrides:
execute in class EJBInvokerJob
Throws:
org.quartz.JobExecutionException


Copyright 2001-2016, Terracotta, Inc.