Search in sources :

Example 1 with JsonNodeELResolver

use of org.activiti.engine.impl.el.JsonNodeELResolver 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(javax.el.CompositeELResolver) JsonNodeELResolver(org.activiti.engine.impl.el.JsonNodeELResolver) DynamicBeanPropertyELResolver(org.activiti.engine.impl.el.DynamicBeanPropertyELResolver) ListELResolver(javax.el.ListELResolver) ResourceBundleELResolver(javax.el.ResourceBundleELResolver) MapELResolver(javax.el.MapELResolver) SimpleResolver(de.odysseus.el.util.SimpleResolver) ArrayELResolver(javax.el.ArrayELResolver) ItemInstance(org.activiti.engine.impl.bpmn.data.ItemInstance) BeanELResolver(javax.el.BeanELResolver)

Aggregations

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