Search in sources :

Example 11 with MapELResolver

use of javax.el.MapELResolver in project oxCore by GluuFederation.

the class ContextProducer method createELResolver.

private CompositeELResolver createELResolver(ConstantResolver constantResolver) {
    CompositeELResolver resolver = new CompositeELResolver();
    resolver.add(constantResolver);
    resolver.add(beanManager.getELResolver());
    FacesContext facesContext = FacesContext.getCurrentInstance();
    if (facesContext != null) {
        resolver.add(facesContext.getELContext().getELResolver());
    }
    resolver.add(new MapELResolver());
    resolver.add(new ListELResolver());
    resolver.add(new ArrayELResolver());
    resolver.add(new ResourceBundleELResolver());
    resolver.add(new BeanELResolver());
    return resolver;
}
Also used : FacesContext(javax.faces.context.FacesContext) CompositeELResolver(javax.el.CompositeELResolver) ListELResolver(javax.el.ListELResolver) ResourceBundleELResolver(javax.el.ResourceBundleELResolver) MapELResolver(javax.el.MapELResolver) ArrayELResolver(javax.el.ArrayELResolver) BeanELResolver(javax.el.BeanELResolver)

Aggregations

ArrayELResolver (javax.el.ArrayELResolver)11 ListELResolver (javax.el.ListELResolver)11 MapELResolver (javax.el.MapELResolver)11 BeanELResolver (javax.el.BeanELResolver)10 CompositeELResolver (javax.el.CompositeELResolver)10 ResourceBundleELResolver (javax.el.ResourceBundleELResolver)9 FacesContext (javax.faces.context.FacesContext)2 ItemInstance (org.activiti.engine.impl.bpmn.data.ItemInstance)2 SimpleContext (de.odysseus.el.util.SimpleContext)1 SimpleResolver (de.odysseus.el.util.SimpleResolver)1 Iterator (java.util.Iterator)1 ELResolver (javax.el.ELResolver)1 ImplicitObjectELResolver (javax.servlet.jsp.el.ImplicitObjectELResolver)1 ScopedAttributeELResolver (javax.servlet.jsp.el.ScopedAttributeELResolver)1 DynamicBeanPropertyELResolver (org.activiti.engine.impl.el.DynamicBeanPropertyELResolver)1 JsonNodeELResolver (org.activiti.engine.impl.el.JsonNodeELResolver)1 VariableScopeElResolver (org.activiti.engine.impl.el.VariableScopeElResolver)1