public static void setCommandContext(CommandContext commandContext) { getStack(commandContextThreadLocal).push(commandContext); }
public static void setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration) { getStack(processEngineConfigurationStackThreadLocal).push(processEngineConfiguration); }
public static void setTransactionContext(TransactionContext transactionContext) { getStack(transactionContextThreadLocal).push(transactionContext); }
public static void removeCommandContext() { getStack(commandContextThreadLocal).pop(); }
public static void removeProcessEngineConfiguration() { getStack(processEngineConfigurationStackThreadLocal).pop(); }
public static void removeTransactionContext() { getStack(transactionContextThreadLocal).pop(); }
public static TransactionContext getTransactionContext() { Stack<TransactionContext> stack = getStack(transactionContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static CommandContext getCommandContext() { Stack<CommandContext> stack = getStack(commandContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static ProcessEngineConfigurationImpl getProcessEngineConfiguration() { Stack<ProcessEngineConfigurationImpl> stack = getStack(processEngineConfigurationStackThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static void removeExecutionContext() { getStack(executionContextStackThreadLocal).pop(); }
public static TransactionContext getTransactionContext() { Stack<TransactionContext> stack = getStack(transactionContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static void removeCommandContext() { getStack(commandContextThreadLocal).pop(); }
public static void removeProcessEngineConfiguration() { getStack(processEngineConfigurationStackThreadLocal).pop(); }
public static CommandContext getCommandContext() { Stack<CommandContext> stack = getStack(commandContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static ProcessEngineConfigurationImpl getProcessEngineConfiguration() { Stack<ProcessEngineConfigurationImpl> stack = getStack(processEngineConfigurationStackThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static ProcessEngineConfigurationImpl getProcessEngineConfiguration() { Stack<ProcessEngineConfigurationImpl> stack = getStack(processEngineConfigurationStackThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static void removeCommandContext() { getStack(commandContextThreadLocal).pop(); }
public static CommandContext getCommandContext() { Stack<CommandContext> stack = getStack(commandContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static ProcessEngineConfigurationImpl getProcessEngineConfiguration() { Stack<ProcessEngineConfigurationImpl> stack = getStack(processEngineConfigurationStackThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static CommandContext getCommandContext() { Stack<CommandContext> stack = getStack(commandContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }