Class CommandInvocationContext
java.lang.Object
org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext
In contrast to
CommandContext
, this context holds resources that are only valid
during execution of a single command (i.e. the current command or an exception that was thrown
during its execution).- Author:
- Thorben Lindhauer
-
Field Summary
Modifier and TypeFieldDescriptionprotected BpmnStackTrace
protected Command<?>
protected boolean
protected ProcessDataContext
protected List<AtomicOperationInvocation>
protected Throwable
-
Constructor Summary
ConstructorDescriptionCommandInvocationContext
(Command<?> command, ProcessEngineConfigurationImpl configuration) -
Method Summary
Modifier and TypeMethodDescriptionCommand<?>
protected ProcessApplicationReference
getTargetProcessApplication
(ExecutionEntity execution) protected void
protected void
void
performOperation
(AtomicOperation executionOperation, ExecutionEntity execution) void
performOperation
(AtomicOperation executionOperation, ExecutionEntity execution, boolean performAsync) void
performOperationAsync
(AtomicOperation executionOperation, ExecutionEntity execution) protected boolean
requiresContextSwitch
(ProcessApplicationReference processApplicationReference) void
rethrow()
void
-
Field Details
-
throwable
-
command
-
isExecuting
protected boolean isExecuting -
queuedInvocations
-
bpmnStackTrace
-
processDataContext
-
-
Constructor Details
-
CommandInvocationContext
-
-
Method Details
-
getThrowable
-
getCommand
-
trySetThrowable
-
performOperation
-
performOperationAsync
-
performOperation
public void performOperation(AtomicOperation executionOperation, ExecutionEntity execution, boolean performAsync) -
performNext
protected void performNext() -
invokeNext
protected void invokeNext() -
requiresContextSwitch
-
getTargetProcessApplication
-
rethrow
public void rethrow() -
getProcessDataContext
-