public class Context extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<Stack<CommandContext>> |
commandContextThreadLocal |
| Constructor and Description |
|---|
Context() |
| Modifier and Type | Method and Description |
|---|---|
static CommandContext |
getCommandContext() |
protected static <T> Stack<T> |
getStack(ThreadLocal<Stack<T>> threadLocal) |
static TransactionContext |
getTransactionContext() |
static void |
removeCommandContext() |
static void |
removeTransactionContext() |
static void |
setCommandContext(CommandContext commandContext) |
static void |
setTransactionContext(TransactionContext transactionContext) |
protected static ThreadLocal<Stack<CommandContext>> commandContextThreadLocal
public static CommandContext getCommandContext()
public static void setCommandContext(CommandContext commandContext)
public static void removeCommandContext()
public static TransactionContext getTransactionContext()
public static void setTransactionContext(TransactionContext transactionContext)
public static void removeTransactionContext()
protected static <T> Stack<T> getStack(ThreadLocal<Stack<T>> threadLocal)
Copyright © 2021 Flowable. All rights reserved.