Class Context
- java.lang.Object
-
- org.flowable.common.engine.impl.context.Context
-
public class Context extends Object
- Author:
- Tom Baeyens, Daniel Meyer, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected static ThreadLocal<Stack<CommandContext>>commandContextThreadLocal
-
Constructor Summary
Constructors Constructor Description Context()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandContextgetCommandContext()protected static <T> Stack<T>getStack(ThreadLocal<Stack<T>> threadLocal)static TransactionContextgetTransactionContext()static voidremoveCommandContext()static voidremoveTransactionContext()static voidsetCommandContext(CommandContext commandContext)static voidsetTransactionContext(TransactionContext transactionContext)
-
-
-
Field Detail
-
commandContextThreadLocal
protected static ThreadLocal<Stack<CommandContext>> commandContextThreadLocal
-
-
Method Detail
-
getCommandContext
public static CommandContext getCommandContext()
-
setCommandContext
public static void setCommandContext(CommandContext commandContext)
-
removeCommandContext
public static void removeCommandContext()
-
getTransactionContext
public static TransactionContext getTransactionContext()
-
setTransactionContext
public static void setTransactionContext(TransactionContext transactionContext)
-
removeTransactionContext
public static void removeTransactionContext()
-
getStack
protected static <T> Stack<T> getStack(ThreadLocal<Stack<T>> threadLocal)
-
-