org.jboss.txbridge.ba.execute
Class RemoteServiceExecutor

java.lang.Object
  extended by org.jboss.txbridge.ba.execute.ServiceExecutor
      extended by org.jboss.txbridge.ba.execute.RemoteServiceExecutor

public class RemoteServiceExecutor
extends ServiceExecutor

This class represents a remote service executor. This executor uses the WSConfiguredDII as the execution mechanism by default.

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

Field Summary
private static org.apache.log4j.Logger log
           
 
Fields inherited from class org.jboss.txbridge.ba.execute.ServiceExecutor
cmp, dataProvider, execution, taskDescription
 
Constructor Summary
RemoteServiceExecutor(TaskDescription taskDesc)
           
 
Method Summary
 void invoke(MethodDescription md, ExecutionDataProvider edp)
          This method invokes the completion or compensation task which is specified in the service description.
 
Methods inherited from class org.jboss.txbridge.ba.execute.ServiceExecutor
setExecutionType
 
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

RemoteServiceExecutor

public RemoteServiceExecutor(TaskDescription taskDesc)
Method Detail

invoke

public void invoke(MethodDescription md,
                   ExecutionDataProvider edp)
            throws ActionExecutionException
Description copied from class: ServiceExecutor
This method invokes the completion or compensation task which is specified in the service description. It uses managed data which are passed as a parameter.

Specified by:
invoke in class ServiceExecutor
Parameters:
md - represents the service description.
edp - represents the datamgmt data provider.
Throws:
ActionExecutionException - if it was not possible to execute datamgmt action.