Search in sources :

Example 1 with BeanELResolver

use of org.camunda.bpm.engine.impl.javax.el.BeanELResolver 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 BeanELResolver

use of org.camunda.bpm.engine.impl.javax.el.BeanELResolver 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 BeanELResolver

use of org.camunda.bpm.engine.impl.javax.el.BeanELResolver 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)

Example 4 with BeanELResolver

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

the class JuelScriptEngine method createElResolver.

private ELResolver createElResolver() {
    CompositeELResolver compositeResolver = new CompositeELResolver();
    compositeResolver.add(new ArrayELResolver());
    compositeResolver.add(new ListELResolver());
    compositeResolver.add(new MapELResolver());
    compositeResolver.add(new ResourceBundleELResolver());
    compositeResolver.add(new BeanELResolver());
    return new SimpleResolver(compositeResolver);
}
Also used : CompositeELResolver(org.camunda.bpm.engine.impl.javax.el.CompositeELResolver) ListELResolver(org.camunda.bpm.engine.impl.javax.el.ListELResolver) ResourceBundleELResolver(org.camunda.bpm.engine.impl.javax.el.ResourceBundleELResolver) MapELResolver(org.camunda.bpm.engine.impl.javax.el.MapELResolver) SimpleResolver(org.camunda.bpm.engine.impl.juel.SimpleResolver) ArrayELResolver(org.camunda.bpm.engine.impl.javax.el.ArrayELResolver) BeanELResolver(org.camunda.bpm.engine.impl.javax.el.BeanELResolver)

Aggregations

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