org.jboss.tm
Class TransactionLocalDelegateImpl.TransactionLocalSynchronization

java.lang.Object
  extended by org.jboss.tm.TransactionLocalDelegateImpl.TransactionLocalSynchronization
All Implemented Interfaces:
Synchronization
Enclosing class:
TransactionLocalDelegateImpl

protected static class TransactionLocalDelegateImpl.TransactionLocalSynchronization
extends Object
implements Synchronization


Field Summary
protected  EDU.oswego.cs.dl.util.concurrent.ReentrantLock reentrantLock
           
protected  Transaction tx
           
 
Constructor Summary
TransactionLocalDelegateImpl.TransactionLocalSynchronization(Transaction tx)
           
 
Method Summary
 void afterCompletion(int status)
           
 void beforeCompletion()
           
 boolean containsValue(Object local)
           
 Object getValue(Object local)
           
 void lock(Object local)
           
 void setValue(Object local, Object value)
           
 void unlock(Object local)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tx

protected Transaction tx

reentrantLock

protected EDU.oswego.cs.dl.util.concurrent.ReentrantLock reentrantLock
Constructor Detail

TransactionLocalDelegateImpl.TransactionLocalSynchronization

public TransactionLocalDelegateImpl.TransactionLocalSynchronization(Transaction tx)
Method Detail

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface Synchronization

afterCompletion

public void afterCompletion(int status)
Specified by:
afterCompletion in interface Synchronization

lock

public void lock(Object local)
          throws InterruptedException
Throws:
InterruptedException

unlock

public void unlock(Object local)

getValue

public Object getValue(Object local)

setValue

public void setValue(Object local,
                     Object value)

containsValue

public boolean containsValue(Object local)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.