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
FieldsModifier and TypeFieldDescriptionprotected BpmnStackTraceprotected Command<?>protected booleanprotected ProcessDataContextprotected List<AtomicOperationInvocation>protected Throwable -
Constructor Summary
ConstructorsConstructorDescriptionCommandInvocationContext(Command<?> command, ProcessEngineConfigurationImpl configuration) -
Method Summary
Modifier and TypeMethodDescriptionCommand<?>protected ProcessApplicationReferencegetTargetProcessApplication(ExecutionEntity execution) protected voidprotected voidvoidperformOperation(AtomicOperation executionOperation, ExecutionEntity execution) voidperformOperation(AtomicOperation executionOperation, ExecutionEntity execution, boolean performAsync) voidperformOperationAsync(AtomicOperation executionOperation, ExecutionEntity execution) protected booleanrequiresContextSwitch(ProcessApplicationReference processApplicationReference) voidrethrow()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
-