|
||||||||||
| 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.ConfigStackThreadLocal
A thread local based stack for storing Transaction Configuration object supplied to the transaction manager
| Constructor Summary | |
AbstractTransactionServiceManager.ConfigStackThreadLocal()
|
|
| Method Summary | |
java.util.List |
getList()
Return the stack of transaction configurations 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 |
ITransactionConfig |
peek()
Peek at the last transaction config on the top of the stack, if it exists, but do not remove it from the stack. |
ITransactionConfig |
pop()
Pop the last transaction config off the top of the stack; thereby removing it, and return it to the caller. |
void |
push(ITransactionConfig config)
Push the transaction configuration onto the top of 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.ConfigStackThreadLocal()
| Method Detail |
public java.lang.Object initialValue()
ThreadLocal.initialValue()public void push(ITransactionConfig config)
config - the configurationpublic boolean isEmpty()
true if the stack list is emptypublic int size()
public int getSize()
public ITransactionConfig pop()
public ITransactionConfig peek()
public java.util.List getList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||