|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.tm.TransactionLocalDelegateImpl
An implementation of the transaction local implementation using Transaction synchronizations. There is one of these per transaction local
Nested Class Summary | |
protected static class |
TransactionLocalDelegateImpl.TransactionLocalSynchronization (src)
|
Field Summary | |
protected TransactionManager (src) |
manager
The transaction manager |
protected static ConcurrentHashMap |
synchronizationsByTransaction
The synchronizations for each transaction |
Constructor Summary | |
TransactionLocalDelegateImpl(TransactionManager (src) manager)
Construct a new delegate for the given transaction manager |
Method Summary | |
boolean |
containsValue(TransactionLocal (src) unused,
Transaction (src) tx)
does Transaction contain object? |
protected static TransactionLocalDelegateImpl.TransactionLocalSynchronization (src) |
getSynchronization(Transaction (src) tx,
boolean create)
Retrieve a synchronization for the transaction |
java.lang.Object |
getValue(TransactionLocal (src) unused,
Transaction (src) tx)
get the transaction local value. |
protected static void |
removeSynchronization(Transaction (src) tx)
Remove a synchronization |
void |
storeValue(TransactionLocal (src) unused,
Transaction (src) tx,
java.lang.Object value)
put the value in the transaction local |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected TransactionManager (src) manager
protected static ConcurrentHashMap synchronizationsByTransaction
Constructor Detail |
public TransactionLocalDelegateImpl(TransactionManager (src) manager)
manager
- the transaction managerMethod Detail |
protected static TransactionLocalDelegateImpl.TransactionLocalSynchronization (src) getSynchronization(Transaction (src) tx, boolean create)
tx
- the transactioncreate
- whether to create a synchronization if one doesn't existprotected static void removeSynchronization(Transaction (src) tx)
tx
- the transaction to removepublic java.lang.Object getValue(TransactionLocal (src) unused, Transaction (src) tx)
TransactionLocalDelegate (src)
getValue
in interface TransactionLocalDelegate (src)
public void storeValue(TransactionLocal (src) unused, Transaction (src) tx, java.lang.Object value)
TransactionLocalDelegate (src)
storeValue
in interface TransactionLocalDelegate (src)
public boolean containsValue(TransactionLocal (src) unused, Transaction (src) tx)
TransactionLocalDelegate (src)
containsValue
in interface TransactionLocalDelegate (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |