Search in sources :

Example 1 with VariableScopeElResolver

use of org.camunda.bpm.engine.impl.el.VariableScopeElResolver in project camunda-bpm-platform by camunda.

the class CdiExpressionManager method createElResolver.

@Override
protected ELResolver createElResolver() {
    CompositeELResolver compositeElResolver = new CompositeELResolver();
    compositeElResolver.add(new VariableScopeElResolver());
    compositeElResolver.add(new VariableContextElResolver());
    compositeElResolver.add(new CdiResolver());
    compositeElResolver.add(new ArrayELResolver());
    compositeElResolver.add(new ListELResolver());
    compositeElResolver.add(new MapELResolver());
    compositeElResolver.add(new BeanELResolver());
    return compositeElResolver;
}
Also used : CdiResolver(org.camunda.bpm.engine.cdi.impl.el.CdiResolver) CompositeELResolver(org.camunda.bpm.engine.impl.javax.el.CompositeELResolver) VariableContextElResolver(org.camunda.bpm.engine.impl.el.VariableContextElResolver) ListELResolver(org.camunda.bpm.engine.impl.javax.el.ListELResolver) MapELResolver(org.camunda.bpm.engine.impl.javax.el.MapELResolver) VariableScopeElResolver(org.camunda.bpm.engine.impl.el.VariableScopeElResolver) ArrayELResolver(org.camunda.bpm.engine.impl.javax.el.ArrayELResolver) BeanELResolver(org.camunda.bpm.engine.impl.javax.el.BeanELResolver)

Example 2 with VariableScopeElResolver

use of org.camunda.bpm.engine.impl.el.VariableScopeElResolver in project camunda-bpm-platform by camunda.

the class SpringExpressionManager method createElResolver.

@Override
protected ELResolver createElResolver() {
    CompositeELResolver compositeElResolver = new CompositeELResolver();
    compositeElResolver.add(new VariableScopeElResolver());
    compositeElResolver.add(new VariableContextElResolver());
    if (beans != null) {
        // Only expose limited set of beans in expressions
        compositeElResolver.add(new ReadOnlyMapELResolver(beans));
    } else {
        // Expose full application-context in expressions
        compositeElResolver.add(new ApplicationContextElResolver(applicationContext));
    }
    compositeElResolver.add(new ArrayELResolver());
    compositeElResolver.add(new ListELResolver());
    compositeElResolver.add(new MapELResolver());
    compositeElResolver.add(new BeanELResolver());
    return compositeElResolver;
}
Also used : ReadOnlyMapELResolver(org.camunda.bpm.engine.impl.el.ReadOnlyMapELResolver) CompositeELResolver(org.camunda.bpm.engine.impl.javax.el.CompositeELResolver) VariableContextElResolver(org.camunda.bpm.engine.impl.el.VariableContextElResolver) ListELResolver(org.camunda.bpm.engine.impl.javax.el.ListELResolver) ReadOnlyMapELResolver(org.camunda.bpm.engine.impl.el.ReadOnlyMapELResolver) MapELResolver(org.camunda.bpm.engine.impl.javax.el.MapELResolver) VariableScopeElResolver(org.camunda.bpm.engine.impl.el.VariableScopeElResolver) ArrayELResolver(org.camunda.bpm.engine.impl.javax.el.ArrayELResolver) BeanELResolver(org.camunda.bpm.engine.impl.javax.el.BeanELResolver)

Example 3 with VariableScopeElResolver

use of org.camunda.bpm.engine.impl.el.VariableScopeElResolver in project camunda-bpm-platform by camunda.

the class MockExpressionManager method createElResolver.

@Override
protected ELResolver createElResolver() {
    CompositeELResolver compositeElResolver = new CompositeELResolver();
    compositeElResolver.add(new VariableScopeElResolver());
    compositeElResolver.add(new VariableContextElResolver());
    compositeElResolver.add(new MockElResolver());
    compositeElResolver.add(new ArrayELResolver());
    compositeElResolver.add(new ListELResolver());
    compositeElResolver.add(new MapELResolver());
    compositeElResolver.add(new BeanELResolver());
    return compositeElResolver;
}
Also used : CompositeELResolver(org.camunda.bpm.engine.impl.javax.el.CompositeELResolver) VariableContextElResolver(org.camunda.bpm.engine.impl.el.VariableContextElResolver) ListELResolver(org.camunda.bpm.engine.impl.javax.el.ListELResolver) MapELResolver(org.camunda.bpm.engine.impl.javax.el.MapELResolver) VariableScopeElResolver(org.camunda.bpm.engine.impl.el.VariableScopeElResolver) ArrayELResolver(org.camunda.bpm.engine.impl.javax.el.ArrayELResolver) BeanELResolver(org.camunda.bpm.engine.impl.javax.el.BeanELResolver)

Aggregations

VariableContextElResolver (org.camunda.bpm.engine.impl.el.VariableContextElResolver)3 VariableScopeElResolver (org.camunda.bpm.engine.impl.el.VariableScopeElResolver)3 ArrayELResolver (org.camunda.bpm.engine.impl.javax.el.ArrayELResolver)3 BeanELResolver (org.camunda.bpm.engine.impl.javax.el.BeanELResolver)3 CompositeELResolver (org.camunda.bpm.engine.impl.javax.el.CompositeELResolver)3 ListELResolver (org.camunda.bpm.engine.impl.javax.el.ListELResolver)3 MapELResolver (org.camunda.bpm.engine.impl.javax.el.MapELResolver)3 CdiResolver (org.camunda.bpm.engine.cdi.impl.el.CdiResolver)1 ReadOnlyMapELResolver (org.camunda.bpm.engine.impl.el.ReadOnlyMapELResolver)1