Search in sources :

Example 1 with ResourceBundleELResolver

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

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 JsonNodeELResolver());
    compositeResolver.add(new ResourceBundleELResolver());
    compositeResolver.add(new DynamicBeanPropertyELResolver(ItemInstance.class, "getFieldValue", "setFieldValue"));
    compositeResolver.add(new BeanELResolver());
    return new SimpleResolver(compositeResolver);
}
Also used : CompositeELResolver(org.activiti.engine.impl.javax.el.CompositeELResolver) JsonNodeELResolver(org.activiti.engine.impl.javax.el.JsonNodeELResolver) DynamicBeanPropertyELResolver(org.activiti.engine.impl.javax.el.DynamicBeanPropertyELResolver) ListELResolver(org.activiti.engine.impl.javax.el.ListELResolver) ResourceBundleELResolver(org.activiti.engine.impl.javax.el.ResourceBundleELResolver) MapELResolver(org.activiti.engine.impl.javax.el.MapELResolver) SimpleResolver(org.activiti.engine.impl.juel.SimpleResolver) ArrayELResolver(org.activiti.engine.impl.javax.el.ArrayELResolver) ItemInstance(org.activiti.engine.impl.bpmn.data.ItemInstance) BeanELResolver(org.activiti.engine.impl.javax.el.BeanELResolver)

Aggregations

ItemInstance (org.activiti.engine.impl.bpmn.data.ItemInstance)1 ArrayELResolver (org.activiti.engine.impl.javax.el.ArrayELResolver)1 BeanELResolver (org.activiti.engine.impl.javax.el.BeanELResolver)1 CompositeELResolver (org.activiti.engine.impl.javax.el.CompositeELResolver)1 DynamicBeanPropertyELResolver (org.activiti.engine.impl.javax.el.DynamicBeanPropertyELResolver)1 JsonNodeELResolver (org.activiti.engine.impl.javax.el.JsonNodeELResolver)1 ListELResolver (org.activiti.engine.impl.javax.el.ListELResolver)1 MapELResolver (org.activiti.engine.impl.javax.el.MapELResolver)1 ResourceBundleELResolver (org.activiti.engine.impl.javax.el.ResourceBundleELResolver)1 SimpleResolver (org.activiti.engine.impl.juel.SimpleResolver)1