Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.txbridge.ba.execute
Class EJBExecution

    java.lang.Object
      org.jboss.txbridge.ba.execute.EJBExecution

All Implemented Interfaces:
  ExecutionInterface

    public class EJBExecution

extends java.lang.Object
implements ExecutionInterface

This class provides implementation of the EJB execution. It uses the Service Locator component to get reference to the required EJB.

Version:
  0.1
Author:
  Maciej P. Machulak (mmachulak@redhat.com)

Field Summary
`private static org.apache.log4j.Logger` | `log`

Constructor Summary
`EJBExecution()`

Method Summary
`void` | `invokeService(TaskDescription taskDesc, MethodDescription md, java.lang.Object[] arguments, java.lang.Class[] argumentTypes)` This method invokes a service that is described by the service description with given arguments and argument types.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### log

    private static org.apache.log4j.Logger log

Constructor Detail

### EJBExecution

    public EJBExecution()

Method Detail

### invokeService

    public void invokeService(TaskDescription taskDesc,
                              MethodDescription md,
                              java.lang.Object[] arguments,
                              java.lang.Class[] argumentTypes)
                       throws ActionExecutionException

  This method invokes a service that is described by the service description with given arguments and argument types.

  Specified by:
    `invokeService` in interface `ExecutionInterface`
  Parameters:
    `taskDesc` - describes the task (needed to inject the proper participant).
    `md` - describes the service.
    `arguments` - is the list of arguments.
    `argumentTypes` - is the list of argument types.
  Throws:
    `ActionExecutionException` - if invoking datamgmt action was not successful.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD