use of org.camunda.bpm.engine.impl.javax.el.ELResolver in project camunda-bpm-platform by camunda.
the class ExpressionManager method createElContext.
protected ProcessEngineElContext createElContext(VariableScope variableScope) {
ELResolver elResolver = getCachedElResolver();
ProcessEngineElContext elContext = new ProcessEngineElContext(functionMappers, elResolver);
elContext.putContext(ExpressionFactory.class, expressionFactory);
elContext.putContext(VariableScope.class, variableScope);
return elContext;
}
use of org.camunda.bpm.engine.impl.javax.el.ELResolver in project camunda-bpm-platform by camunda.
the class ExpressionManager method createElContext.
public ELContext createElContext(VariableContext variableContext) {
ELResolver elResolver = getCachedElResolver();
ProcessEngineElContext elContext = new ProcessEngineElContext(functionMappers, elResolver);
elContext.putContext(ExpressionFactory.class, expressionFactory);
elContext.putContext(VariableContext.class, variableContext);
return elContext;
}
use of org.camunda.bpm.engine.impl.javax.el.ELResolver in project camunda-bpm-platform by camunda.
the class AbstractElResolverDelegate method getType.
public Class<?> getType(ELContext context, Object base, Object property) {
context.setPropertyResolved(false);
ELResolver delegate = getElResolverDelegate();
if (delegate == null) {
return null;
} else {
return delegate.getType(context, base, property);
}
}
use of org.camunda.bpm.engine.impl.javax.el.ELResolver in project camunda-bpm-platform by camunda.
the class AbstractElResolverDelegate method invoke.
public Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params) {
context.setPropertyResolved(false);
ELResolver delegate = getElResolverDelegate();
if (delegate == null) {
return null;
} else {
return delegate.invoke(context, base, method, paramTypes, params);
}
}
use of org.camunda.bpm.engine.impl.javax.el.ELResolver in project camunda-bpm-platform by camunda.
the class AbstractElResolverDelegate method setValue.
public void setValue(ELContext context, Object base, Object property, Object value) {
context.setPropertyResolved(false);
ELResolver delegate = getElResolverDelegate();
if (delegate != null) {
delegate.setValue(context, base, property, value);
}
}
Aggregations