org.camunda.bpm.engine.impl.context
Class Context
java.lang.Object
org.camunda.bpm.engine.impl.context.Context
public class Context
- extends Object
- Author:
- Tom Baeyens, Daniel Meyer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commandContextThreadLocal
protected static ThreadLocal<Stack<CommandContext>> commandContextThreadLocal
processEngineConfigurationStackThreadLocal
protected static ThreadLocal<Stack<ProcessEngineConfigurationImpl>> processEngineConfigurationStackThreadLocal
executionContextStackThreadLocal
protected static ThreadLocal<Stack<ExecutionContext>> executionContextStackThreadLocal
jobExecutorContextThreadLocal
protected static ThreadLocal<JobExecutorContext> jobExecutorContextThreadLocal
processApplicationContext
protected static ThreadLocal<Stack<ProcessApplicationReference>> processApplicationContext
Context
public Context()
getCommandContext
public static CommandContext getCommandContext()
setCommandContext
public static void setCommandContext(CommandContext commandContext)
removeCommandContext
public static void removeCommandContext()
getProcessEngineConfiguration
public static ProcessEngineConfigurationImpl getProcessEngineConfiguration()
setProcessEngineConfiguration
public static void setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration)
removeProcessEngineConfiguration
public static void removeProcessEngineConfiguration()
getExecutionContext
public static ExecutionContext getExecutionContext()
setExecutionContext
public static void setExecutionContext(InterpretableExecution execution)
removeExecutionContext
public static void removeExecutionContext()
getStack
protected static <T> Stack<T> getStack(ThreadLocal<Stack<T>> threadLocal)
getJobExecutorContext
public static JobExecutorContext getJobExecutorContext()
setJobExecutorContext
public static void setJobExecutorContext(JobExecutorContext jobExecutorContext)
removeJobExecutorContext
public static void removeJobExecutorContext()
getCurrentProcessApplication
public static ProcessApplicationReference getCurrentProcessApplication()
setCurrentProcessApplication
public static void setCurrentProcessApplication(ProcessApplicationReference reference)
removeCurrentProcessApplication
public static void removeCurrentProcessApplication()
executeWithinProcessApplication
public static <T> T executeWithinProcessApplication(Callable<T> callback,
ProcessApplicationReference processApplicationReference)
- Parameters:
callback
- processApplicationReference
-
Copyright © 2014 camunda services GmbH. All Rights Reserved.