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 ArgumentsProvider

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

All Implemented Interfaces:
  DataProvider

    public class ArgumentsProvider

extends java.lang.Object
implements DataProvider

Arguments Provider component provides methods to obtain necessary data, which has been remembered during execution of the original method. This data will be used when invoking the compensation action.

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

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

Constructor Summary
`ArgumentsProvider()`

Method Summary
`java.lang.Object[]` | `getArguments(ServiceDescription sd, CompensationDataProvider cdp)` This method
`java.lang.Class[]` | `getArgumentTypes(java.lang.Object[] arguments)` This method takes an array of objects as an argument.

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

### ArgumentsProvider

    public ArgumentsProvider()

Method Detail

### getArguments

    public java.lang.Object[] getArguments(ServiceDescription sd,
                                           CompensationDataProvider cdp)
                                    throws CompensationActionUnsuccessfulException

  This method

  Specified by:
    `getArguments` in interface `DataProvider`
  Parameters:
    `sd` - is the service description which describes the original and compensation services.
    `cdp` - is the compensation data provider.
  Returns:
    array of objects.
  Throws:
    `CompensationActionUnsuccessfulException`

### getArgumentTypes

    public java.lang.Class[] getArgumentTypes(java.lang.Object[] arguments)

  This method takes an array of objects as an argument. It returns an array of types of those objects.

  Specified by:
    `getArgumentTypes` in interface `DataProvider`
  Parameters:
    `arguments` - is the array containing objects, that will be used as arguments.
  Returns:
    array containing types of those objects.

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