org.jboss.tm
Class TransactionLocalDelegateImpl.TransactionLocalSynchronization

java.lang.Object
  extended byorg.jboss.tm.TransactionLocalDelegateImpl.TransactionLocalSynchronization
All Implemented Interfaces:
Synchronization (src)
Enclosing class:
TransactionLocalDelegateImpl (src)

protected static class TransactionLocalDelegateImpl.TransactionLocalSynchronization
extends java.lang.Object
implements Synchronization (src)


Field Summary
protected  Transaction (src) tx
           
protected  java.util.HashMap valuesByLocal
           
 
Constructor Summary
TransactionLocalDelegateImpl.TransactionLocalSynchronization(Transaction (src)  tx)
           
 
Method Summary
 void afterCompletion(int status)
          This method is invoked after the transaction has committed or rolled back.
 void beforeCompletion()
          This method is invoked before the start of the commit process.
 boolean containsValue(java.lang.Object local)
           
 java.lang.Object getValue(java.lang.Object local)
           
 void setValue(java.lang.Object local, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tx

protected Transaction (src)  tx

valuesByLocal

protected java.util.HashMap valuesByLocal
Constructor Detail

TransactionLocalDelegateImpl.TransactionLocalSynchronization

public TransactionLocalDelegateImpl.TransactionLocalSynchronization(Transaction (src)  tx)
Method Detail

beforeCompletion

public void beforeCompletion()
Description copied from interface: Synchronization (src)
This method is invoked before the start of the commit process. The method invocation is done in the context of the transaction that is about to be committed.

Specified by:
beforeCompletion in interface Synchronization (src)

afterCompletion

public void afterCompletion(int status)
Description copied from interface: Synchronization (src)
This method is invoked after the transaction has committed or rolled back.

Specified by:
afterCompletion in interface Synchronization (src)
Parameters:
status - The status of the completed transaction.

getValue

public java.lang.Object getValue(java.lang.Object local)

setValue

public void setValue(java.lang.Object local,
                     java.lang.Object value)

containsValue

public boolean containsValue(java.lang.Object local)