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 void setCurrentTransactionContext(@Nullable TransactionContext transactionContext)
@Nullable static TransactionContext getCurrentTransactionContext()
@Nullable static TransactionContext removeCurrentTransactionContext()