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; }
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; }
public Object getValue(VariableContext variableContext) { if(Context.getCommandContext() == null) { throw new ProcessEngineException("Expression can only be evaluated inside the context of the process engine"); } ELContext context = Context.getProcessEngineConfiguration() .getExpressionManager() .createElContext(variableContext); return valueExpression.getValue(context); }
public Object getValue(VariableContext variableContext) { if(Context.getCommandContext() == null) { throw new ProcessEngineException("Expression can only be evaluated inside the context of the process engine"); } ELContext context = Context.getProcessEngineConfiguration() .getExpressionManager() .createElContext(variableContext); return valueExpression.getValue(context); }
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; }
public Object getValue(VariableContext variableContext) { if(Context.getCommandContext() == null) { throw new ProcessEngineException("Expression can only be evaluated inside the context of the process engine"); } ELContext context = Context.getProcessEngineConfiguration() .getExpressionManager() .createElContext(variableContext); return valueExpression.getValue(context); }