public class Context extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<Stack<CommandContext>> |
commandContextThreadLocal |
protected static ThreadLocal<Stack<DmnEngineConfiguration>> |
dmnEngineConfigurationStackThreadLocal |
protected static ThreadLocal<Stack<TransactionContext>> |
transactionContextThreadLocal |
| Constructor and Description |
|---|
Context() |
| Modifier and Type | Method and Description |
|---|---|
static CommandContext |
getCommandContext() |
static DmnEngineConfiguration |
getDmnEngineConfiguration() |
protected static <T> Stack<T> |
getStack(ThreadLocal<Stack<T>> threadLocal) |
static TransactionContext |
getTransactionContext() |
static void |
removeCommandContext() |
static void |
removeDmnEngineConfiguration() |
static void |
removeTransactionContext() |
static void |
setCommandContext(CommandContext commandContext) |
static void |
setDmnEngineConfiguration(DmnEngineConfiguration dmnEngineConfiguration) |
static void |
setTransactionContext(TransactionContext transactionContext) |
protected static ThreadLocal<Stack<CommandContext>> commandContextThreadLocal
protected static ThreadLocal<Stack<DmnEngineConfiguration>> dmnEngineConfigurationStackThreadLocal
protected static ThreadLocal<Stack<TransactionContext>> transactionContextThreadLocal
public static CommandContext getCommandContext()
public static void setCommandContext(CommandContext commandContext)
public static void removeCommandContext()
public static DmnEngineConfiguration getDmnEngineConfiguration()
public static void setDmnEngineConfiguration(DmnEngineConfiguration dmnEngineConfiguration)
public static void removeDmnEngineConfiguration()
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 © 2017 Flowable. All rights reserved.