org.jboss.txbridge.ba.compensation
Class CompensationDataProviderImpl
java.lang.Object
org.jboss.txbridge.ba.compensation.CompensationManagerImpl
org.jboss.txbridge.ba.compensation.CompensationDataProviderImpl
- All Implemented Interfaces:
- CompensationDataProvider, CompensationManager
public class CompensationDataProviderImpl
- extends CompensationManagerImpl
- implements CompensationDataProvider
- Version:
- 0.1
- Author:
- Maciej P. Machulak (mmachulak@redhat.com)
|
Field Summary |
private static org.apache.log4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.log4j.Logger log
CompensationDataProviderImpl
public CompensationDataProviderImpl(java.lang.String taskId,
Participant participant)
- Constructor
- Parameters:
taskId - is the task identifier.participant - is the reference to the participant.
putArguments
public void putArguments(java.lang.Object[] arguments)
- Specified by:
putArguments in interface CompensationDataProvider
- Parameters:
arguments - is the list of parameters.
getArguments
public java.lang.Object[] getArguments()
- Specified by:
getArguments in interface CompensationDataProvider
- Returns:
- the list of parameters.
putReturn
public void putReturn(java.lang.Object returnObject)
- Specified by:
putReturn in interface CompensationDataProvider
- Parameters:
returnObject - the return object that should be remembered.
getReturn
public java.lang.Object[] getReturn()
- Specified by:
getReturn in interface CompensationDataProvider
- Returns:
- the return object associated with a given task.