org.jboss.txbridge.ba.execute
Interface ExecutionInterface

All Known Implementing Classes:
CorbaExecution, EJBExecution, LocalExecution, RMIExecution, WSConfiguredDII, WSUnconfiguredDII

public interface ExecutionInterface

The interface for any class that provides execution mechanism, which can be used during datamgmt.

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

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.
 

Method Detail

invokeService

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.

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.