Search in sources :

Example 1 with ELResolver

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;
}
Also used : ListELResolver(org.camunda.bpm.engine.impl.javax.el.ListELResolver) CompositeELResolver(org.camunda.bpm.engine.impl.javax.el.CompositeELResolver) ELResolver(org.camunda.bpm.engine.impl.javax.el.ELResolver) ArrayELResolver(org.camunda.bpm.engine.impl.javax.el.ArrayELResolver) MapELResolver(org.camunda.bpm.engine.impl.javax.el.MapELResolver)

Example 2 with ELResolver

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;
}
Also used : ListELResolver(org.camunda.bpm.engine.impl.javax.el.ListELResolver) CompositeELResolver(org.camunda.bpm.engine.impl.javax.el.CompositeELResolver) ELResolver(org.camunda.bpm.engine.impl.javax.el.ELResolver) ArrayELResolver(org.camunda.bpm.engine.impl.javax.el.ArrayELResolver) MapELResolver(org.camunda.bpm.engine.impl.javax.el.MapELResolver)

Example 3 with ELResolver

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);
    }
}
Also used : ELResolver(org.camunda.bpm.engine.impl.javax.el.ELResolver)

Example 4 with ELResolver

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);
    }
}
Also used : ELResolver(org.camunda.bpm.engine.impl.javax.el.ELResolver)

Example 5 with ELResolver

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);
    }
}
Also used : ELResolver(org.camunda.bpm.engine.impl.javax.el.ELResolver)

Aggregations

ELResolver (org.camunda.bpm.engine.impl.javax.el.ELResolver)9 CompositeELResolver (org.camunda.bpm.engine.impl.javax.el.CompositeELResolver)4 ArrayELResolver (org.camunda.bpm.engine.impl.javax.el.ArrayELResolver)3 ListELResolver (org.camunda.bpm.engine.impl.javax.el.ListELResolver)3 MapELResolver (org.camunda.bpm.engine.impl.javax.el.MapELResolver)3 ArrayList (java.util.ArrayList)1 ProcessApplicationElResolver (org.camunda.bpm.application.ProcessApplicationElResolver)1 BeanELResolver (org.camunda.bpm.engine.impl.javax.el.BeanELResolver)1 ELContext (org.camunda.bpm.engine.impl.javax.el.ELContext)1 FunctionMapper (org.camunda.bpm.engine.impl.javax.el.FunctionMapper)1 ResourceBundleELResolver (org.camunda.bpm.engine.impl.javax.el.ResourceBundleELResolver)1 VariableMapper (org.camunda.bpm.engine.impl.javax.el.VariableMapper)1