org.activiti.engine.impl.persistence.entity.VariableScopeImpl Java Examples

The following examples show how to use org.activiti.engine.impl.persistence.entity.VariableScopeImpl. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ExpressionManager.java    From activiti6-boot2 with Apache License 2.0 6 votes vote down vote up
public ELContext getElContext(VariableScope variableScope) {
  ELContext elContext = null;
  if (variableScope instanceof VariableScopeImpl) {
    VariableScopeImpl variableScopeImpl = (VariableScopeImpl) variableScope;
    elContext = variableScopeImpl.getCachedElContext();
  }

  if (elContext == null) {
    elContext = createElContext(variableScope);
    if (variableScope instanceof VariableScopeImpl) {
      ((VariableScopeImpl) variableScope).setCachedElContext(elContext);
    }
  }

  return elContext;
}
 
Example #2
Source File: ExpressionManager.java    From flowable-engine with Apache License 2.0 6 votes vote down vote up
public ELContext getElContext(VariableScope variableScope) {
    ELContext elContext = null;
    if (variableScope instanceof VariableScopeImpl) {
        VariableScopeImpl variableScopeImpl = (VariableScopeImpl) variableScope;
        elContext = variableScopeImpl.getCachedElContext();
    }

    if (elContext == null) {
        elContext = createElContext(variableScope);
        if (variableScope instanceof VariableScopeImpl) {
            ((VariableScopeImpl) variableScope).setCachedElContext(elContext);
        }
    }

    return elContext;
}
 
Example #3
Source File: MockVariableScope.java    From lemon with Apache License 2.0 4 votes vote down vote up
protected VariableScopeImpl getParentVariableScope() {
    logger.debug("getParentVariableScope");

    return null;
}