public class TransactionContextHolder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<Stack<TransactionContext>> |
transactionContextThreadLocal |
| Constructor and Description |
|---|
TransactionContextHolder() |
| Modifier and Type | Method and Description |
|---|---|
protected static <T> Stack<T> |
getStack(ThreadLocal<Stack<T>> threadLocal) |
static TransactionContext |
getTransactionContext() |
static boolean |
isTransactionContextActive() |
static void |
removeTransactionContext() |
static void |
setTransactionContext(TransactionContext transactionContext) |
protected static ThreadLocal<Stack<TransactionContext>> transactionContextThreadLocal
public static TransactionContext getTransactionContext()
public static void setTransactionContext(TransactionContext transactionContext)
public static void removeTransactionContext()
public static boolean isTransactionContextActive()
protected static <T> Stack<T> getStack(ThreadLocal<Stack<T>> threadLocal)
Copyright © 2021 Flowable. All rights reserved.