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.data
Class ManagedData

    java.lang.Object
      org.jboss.txbridge.ba.data.ManagedData

All Implemented Interfaces:
  java.io.Serializable

Direct Known Subclasses:
  DummyManagedData

    public class ManagedData

extends java.lang.Object
implements java.io.Serializable

This class represents the basic datamgmt data that is used for datamgmt. It provides implementation of methods to store and retrieve data with given identifiers.

Version:
  0.1
Author:
  Maciej P. Machulak (mmachulak@redhat.com)
See Also:
  Serialized Form

Field Summary
`private java.lang.Object[]` | `arguments`
`private java.util.concurrent.ConcurrentMap<java.lang.Object,java.lang.Object>` | `compensationData`
`private static org.apache.log4j.Logger` | `log`
`private java.lang.Object[]` | `returnObject`

Constructor Summary
`ManagedData()`

Method Summary
`java.lang.Object` | `get(java.lang.Object key)`
`java.lang.Object[]` | `getArguments()` This method returns the array of arguments for a certain method invocation.
`java.lang.Object[]` | `getReturnObject()`
`void` | `put(java.lang.Object key, java.lang.Object value)`
`void` | `putArguments(java.lang.Object[] arguments)` This method stores arguments of the method's invocation.
`void` | `putReturnObject(java.lang.Object returnObject)`

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

### arguments

    private java.lang.Object[] arguments

### returnObject

    private java.lang.Object[] returnObject

### compensationData

    private java.util.concurrent.ConcurrentMap<java.lang.Object,java.lang.Object> compensationData

Constructor Detail

### ManagedData

    public ManagedData()

Method Detail

### get

    public java.lang.Object get(java.lang.Object key)

### put

    public void put(java.lang.Object key,
                    java.lang.Object value)

### putArguments

    public void putArguments(java.lang.Object[] arguments)

  This method stores arguments of the method's invocation.

  Parameters:
    `arguments` - is the array of arguments.

### getArguments

    public java.lang.Object[] getArguments()

  This method returns the array of arguments for a certain method invocation.

  Returns:
    is the array of arguments.

### getReturnObject

    public java.lang.Object[] getReturnObject()

### putReturnObject

    public void putReturnObject(java.lang.Object returnObject)

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