Search in sources :

Example 1 with VariableScopeElResolver

use of org.activiti.engine.impl.el.VariableScopeElResolver in project Activiti by Activiti.

the class SpringExpressionManager method createElResolver.

@Override
protected ELResolver createElResolver(VariableScope variableScope) {
    CompositeELResolver compositeElResolver = new CompositeELResolver();
    compositeElResolver.add(new VariableScopeElResolver(variableScope));
    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 JsonNodeELResolver());
    compositeElResolver.add(new BeanELResolver());
    return compositeElResolver;
}
Also used : ReadOnlyMapELResolver(org.activiti.engine.impl.el.ReadOnlyMapELResolver) CompositeELResolver(org.activiti.engine.impl.javax.el.CompositeELResolver) JsonNodeELResolver(org.activiti.engine.impl.javax.el.JsonNodeELResolver) ListELResolver(org.activiti.engine.impl.javax.el.ListELResolver) MapELResolver(org.activiti.engine.impl.javax.el.MapELResolver) ReadOnlyMapELResolver(org.activiti.engine.impl.el.ReadOnlyMapELResolver) VariableScopeElResolver(org.activiti.engine.impl.el.VariableScopeElResolver) ArrayELResolver(org.activiti.engine.impl.javax.el.ArrayELResolver) BeanELResolver(org.activiti.engine.impl.javax.el.BeanELResolver)

Example 2 with VariableScopeElResolver

use of org.activiti.engine.impl.el.VariableScopeElResolver in project Activiti by Activiti.

the class MockExpressionManager method createElResolver.

@Override
protected ELResolver createElResolver(VariableScope variableScope) {
    CompositeELResolver compositeElResolver = new CompositeELResolver();
    compositeElResolver.add(new VariableScopeElResolver(variableScope));
    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.activiti.engine.impl.javax.el.CompositeELResolver) ListELResolver(org.activiti.engine.impl.javax.el.ListELResolver) MapELResolver(org.activiti.engine.impl.javax.el.MapELResolver) VariableScopeElResolver(org.activiti.engine.impl.el.VariableScopeElResolver) ArrayELResolver(org.activiti.engine.impl.javax.el.ArrayELResolver) BeanELResolver(org.activiti.engine.impl.javax.el.BeanELResolver)

Example 3 with VariableScopeElResolver

use of org.activiti.engine.impl.el.VariableScopeElResolver in project Activiti by Activiti.

the class CdiExpressionManager method createElResolver.

@Override
protected ELResolver createElResolver(VariableScope variableScope) {
    CompositeELResolver compositeElResolver = new CompositeELResolver();
    compositeElResolver.add(new VariableScopeElResolver(variableScope));
    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.activiti.cdi.impl.el.CdiResolver) CompositeELResolver(org.activiti.engine.impl.javax.el.CompositeELResolver) ListELResolver(org.activiti.engine.impl.javax.el.ListELResolver) MapELResolver(org.activiti.engine.impl.javax.el.MapELResolver) VariableScopeElResolver(org.activiti.engine.impl.el.VariableScopeElResolver) ArrayELResolver(org.activiti.engine.impl.javax.el.ArrayELResolver) BeanELResolver(org.activiti.engine.impl.javax.el.BeanELResolver)

Aggregations

VariableScopeElResolver (org.activiti.engine.impl.el.VariableScopeElResolver)3 ArrayELResolver (org.activiti.engine.impl.javax.el.ArrayELResolver)3 BeanELResolver (org.activiti.engine.impl.javax.el.BeanELResolver)3 CompositeELResolver (org.activiti.engine.impl.javax.el.CompositeELResolver)3 ListELResolver (org.activiti.engine.impl.javax.el.ListELResolver)3 MapELResolver (org.activiti.engine.impl.javax.el.MapELResolver)3 CdiResolver (org.activiti.cdi.impl.el.CdiResolver)1 ReadOnlyMapELResolver (org.activiti.engine.impl.el.ReadOnlyMapELResolver)1 JsonNodeELResolver (org.activiti.engine.impl.javax.el.JsonNodeELResolver)1