Class CommandInvocationContext

java.lang.Object
org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext

public class CommandInvocationContext extends Object
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 Details

  • Constructor Details

    • CommandInvocationContext

      public CommandInvocationContext(Command<?> command, ProcessEngineConfigurationImpl configuration, boolean isOuterCommand)
      All-args constructor.
      Parameters:
      command - the associated command of this command invocation context.
      configuration - the process engine configuration
      isOuterCommand - when true, the flag marks this command invocation context as outer and parks any MDC value associated with the Logging Context Parameters as external properties. when set to false, this command invocation context will be associated to an inner command, no external properties will be parked
  • Method Details