Search in sources :

Example 6 with ResourceBundleELResolver

use of javax.el.ResourceBundleELResolver 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)

Example 7 with ResourceBundleELResolver

use of javax.el.ResourceBundleELResolver in project core by weld.

the class ELImpl method createELResolver.

private ELResolver createELResolver(BeanManagerImpl beanManagerImpl) {
    CompositeELResolver resolver = new CompositeELResolver();
    resolver.add(beanManagerImpl.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 : CompositeELResolver(javax.el.CompositeELResolver) ListELResolver(javax.el.ListELResolver) ResourceBundleELResolver(javax.el.ResourceBundleELResolver) MapELResolver(javax.el.MapELResolver) ArrayELResolver(javax.el.ArrayELResolver) BeanELResolver(javax.el.BeanELResolver)

Example 8 with ResourceBundleELResolver

use of 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(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)

Example 9 with ResourceBundleELResolver

use of javax.el.ResourceBundleELResolver 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)9 CompositeELResolver (javax.el.CompositeELResolver)9 ListELResolver (javax.el.ListELResolver)9 MapELResolver (javax.el.MapELResolver)9 ResourceBundleELResolver (javax.el.ResourceBundleELResolver)9 BeanELResolver (javax.el.BeanELResolver)8 FacesContext (javax.faces.context.FacesContext)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 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