Search in sources :

Example 1 with CompositeELResolver

use of javax.el.CompositeELResolver in project camel by apache.

the class JuelExpression method createContext.

/**
     * Factory method to create the EL context
     */
protected ELContext createContext() {
    ELResolver resolver = new CompositeELResolver() {

        {
            add(new ArrayELResolver(false));
            add(new ListELResolver(false));
            add(new MapELResolver(false));
            add(new ResourceBundleELResolver());
            add(new BeanAndMethodELResolver());
        }
    };
    return new SimpleContext(resolver);
}
Also used : ListELResolver(javax.el.ListELResolver) ELResolver(javax.el.ELResolver) ResourceBundleELResolver(javax.el.ResourceBundleELResolver) MapELResolver(javax.el.MapELResolver) ArrayELResolver(javax.el.ArrayELResolver) CompositeELResolver(javax.el.CompositeELResolver) CompositeELResolver(javax.el.CompositeELResolver) SimpleContext(de.odysseus.el.util.SimpleContext) ListELResolver(javax.el.ListELResolver) ResourceBundleELResolver(javax.el.ResourceBundleELResolver) MapELResolver(javax.el.MapELResolver) ArrayELResolver(javax.el.ArrayELResolver)

Example 2 with CompositeELResolver

use of javax.el.CompositeELResolver in project camunda-engine-dmn by camunda.

the class JuelElProvider method createDefaultResolver.

protected static ELResolver createDefaultResolver() {
    CompositeELResolver resolver = new CompositeELResolver();
    resolver.add(new VariableContextElResolver());
    resolver.add(new ArrayELResolver(true));
    resolver.add(new ListELResolver(true));
    resolver.add(new MapELResolver(true));
    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 3 with CompositeELResolver

use of javax.el.CompositeELResolver in project tomcat70 by apache.

the class ELContextImpl method getDefaultResolver.

public static ELResolver getDefaultResolver() {
    if (Constants.IS_SECURITY_ENABLED) {
        CompositeELResolver defaultResolver = new CompositeELResolver();
        defaultResolver.add(new MapELResolver());
        defaultResolver.add(new ResourceBundleELResolver());
        defaultResolver.add(new ListELResolver());
        defaultResolver.add(new ArrayELResolver());
        defaultResolver.add(new BeanELResolver());
        return defaultResolver;
    } else {
        return DefaultResolver;
    }
}
Also used : CompositeELResolver(javax.el.CompositeELResolver) ResourceBundleELResolver(javax.el.ResourceBundleELResolver) ListELResolver(javax.el.ListELResolver) MapELResolver(javax.el.MapELResolver) ArrayELResolver(javax.el.ArrayELResolver) BeanELResolver(javax.el.BeanELResolver)

Example 4 with CompositeELResolver

use of javax.el.CompositeELResolver in project jersey by jersey.

the class LinkELContext method getELResolver.

@Override
public ELResolver getELResolver() {
    CompositeELResolver resolver = new CompositeELResolver();
    resolver.add(new ResponseContextResolver(entity, resource, instance));
    resolver.add(new BeanELResolver(true));
    return resolver;
}
Also used : CompositeELResolver(javax.el.CompositeELResolver) BeanELResolver(javax.el.BeanELResolver)

Example 5 with CompositeELResolver

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

the class ContextProducer method createELResolver.

private CompositeELResolver createELResolver(BeanManager beanManager) {
    CompositeELResolver resolver = new CompositeELResolver();
    resolver.add(beanManager.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)

Aggregations

CompositeELResolver (javax.el.CompositeELResolver)11 ArrayELResolver (javax.el.ArrayELResolver)7 BeanELResolver (javax.el.BeanELResolver)7 ListELResolver (javax.el.ListELResolver)7 MapELResolver (javax.el.MapELResolver)7 ResourceBundleELResolver (javax.el.ResourceBundleELResolver)7 FunctionMapperImpl (com.sun.el.lang.FunctionMapperImpl)2 VariableMapperImpl (com.sun.el.lang.VariableMapperImpl)2 RequestScoped (javax.enterprise.context.RequestScoped)2 Produces (javax.enterprise.inject.Produces)2 SimpleContext (de.odysseus.el.util.SimpleContext)1 Iterator (java.util.Iterator)1 ELResolver (javax.el.ELResolver)1 FacesContext (javax.faces.context.FacesContext)1 ImplicitObjectELResolver (javax.servlet.jsp.el.ImplicitObjectELResolver)1 ScopedAttributeELResolver (javax.servlet.jsp.el.ScopedAttributeELResolver)1 JasperELResolver (org.apache.jasper.el.JasperELResolver)1