public class Context extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<Stack<CommandContext>> |
commandContextThreadLocal |
protected static ThreadLocal<Stack<DmnEngineConfiguration>> |
dmnEngineConfigurationStackThreadLocal |
| 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 void |
removeCommandContext() |
static void |
removeDmnEngineConfiguration() |
static void |
setCommandContext(CommandContext commandContext) |
static void |
setDmnEngineConfiguration(DmnEngineConfiguration dmnEngineConfiguration) |
protected static ThreadLocal<Stack<CommandContext>> commandContextThreadLocal
protected static ThreadLocal<Stack<DmnEngineConfiguration>> dmnEngineConfigurationStackThreadLocal
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()
protected static <T> Stack<T> getStack(ThreadLocal<Stack<T>> threadLocal)
Copyright © 2017 Alfresco. All rights reserved.