use of org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope in project camunda-bpm-platform by camunda.
the class ExpressionManager method getElContext.
public ELContext getElContext(VariableScope variableScope) {
ELContext elContext = null;
if (variableScope instanceof AbstractVariableScope) {
AbstractVariableScope variableScopeImpl = (AbstractVariableScope) variableScope;
elContext = variableScopeImpl.getCachedElContext();
}
if (elContext == null) {
elContext = createElContext(variableScope);
if (variableScope instanceof AbstractVariableScope) {
((AbstractVariableScope) variableScope).setCachedElContext(elContext);
}
}
return elContext;
}
use of org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope in project camunda-bpm-platform by camunda.
the class AbstractVariableCmd method execute.
public Void execute(CommandContext commandContext) {
this.commandContext = commandContext;
AbstractVariableScope scope = getEntity();
executeOperation(scope);
ExecutionEntity contextExecution = getContextExecution();
if (contextExecution != null) {
contextExecution.dispatchDelayedEventsAndPerformOperation((Callback<PvmExecutionImpl, Void>) null);
}
if (!preventLogUserOperation) {
logVariableOperation(scope);
}
return null;
}
Aggregations