Search in sources :

Example 1 with VariableScopeImpl

use of org.activiti.engine.impl.persistence.entity.VariableScopeImpl in project Activiti by Activiti.

the class ExpressionManager method getElContext.

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;
}
Also used : ELContext(org.activiti.engine.impl.javax.el.ELContext) VariableScopeImpl(org.activiti.engine.impl.persistence.entity.VariableScopeImpl)

Aggregations

ELContext (org.activiti.engine.impl.javax.el.ELContext)1 VariableScopeImpl (org.activiti.engine.impl.persistence.entity.VariableScopeImpl)1