org.jboss.txbridge.ba.execute
Class RMIExecution

java.lang.Object
  extended by org.jboss.txbridge.ba.execute.RMIExecution
All Implemented Interfaces:
Executable

public class RMIExecution
extends java.lang.Object
implements Executable

This class provides implementation of the RMI execution.

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

Field Summary
private static org.apache.log4j.Logger log
           
 
Constructor Summary
RMIExecution()
           
 
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

RMIExecution

public RMIExecution()
Method Detail

invokeService

public void invokeService(TaskDescription taskDesc,
                          MethodDescription md,
                          java.lang.Object[] arguments,
                          java.lang.Class[] argumentTypes)
                   throws ActionExecutionException
Description copied from interface: Executable
This method invokes a service that is described by the service description with given arguments and argument types.

Specified by:
invokeService in interface Executable
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.