|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ThreadLocal
com.xenonsoft.bridgetown.aop.transaction.support.AbstractTransactionServiceManager.TxStackThreadLocal
A thread local based stack for storing Transaction Objects created by the transaction manager
| Constructor Summary | |
AbstractTransactionServiceManager.TxStackThreadLocal()
|
|
| Method Summary | |
java.util.List |
getList()
Return the stack of transaction contextes as a standard list collection |
int |
getSize()
Returns the size of the stack |
java.lang.Object |
initialValue()
Returns the current thread's initial value for this thread-local variable. |
boolean |
isEmpty()
Retrieve a boolean value if the stack list is empty or not |
TransactionObject |
peek()
Peek at the last transaction context on the top of the stack, if it exists, but do not remove it from the stack. |
TransactionObject |
pop()
Pop the last transaction context off the top of the stack; thereby removing it, and return it to the caller. |
void |
push(TransactionObject tx)
Push the transaction object onto the stack |
int |
size()
Alias to retrieve the size of the stack |
| Methods inherited from class java.lang.ThreadLocal |
get, set |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractTransactionServiceManager.TxStackThreadLocal()
| Method Detail |
public java.lang.Object initialValue()
ThreadLocal.initialValue()public void push(TransactionObject tx)
tx - the transaction contextpublic boolean isEmpty()
true if the stack list is emptypublic int size()
public int getSize()
public TransactionObject pop()
public TransactionObject peek()
public java.util.List getList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||