class TransactionContextHolder
extends java.lang.Object
InheritableThreadLocal
-based holder for the current TransactionContext
.Modifier and Type | Field and Description |
---|---|
private static java.lang.ThreadLocal<TransactionContext> |
currentTransactionContext |
Constructor and Description |
---|
TransactionContextHolder() |
Modifier and Type | Method and Description |
---|---|
(package private) static TransactionContext |
getCurrentTransactionContext() |
(package private) static TransactionContext |
removeCurrentTransactionContext() |
(package private) static void |
setCurrentTransactionContext(TransactionContext transactionContext) |
private static final java.lang.ThreadLocal<TransactionContext> currentTransactionContext
static TransactionContext getCurrentTransactionContext()
static void setCurrentTransactionContext(TransactionContext transactionContext)
static TransactionContext removeCurrentTransactionContext()