use of javax.el.ArrayELResolver 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);
}
use of javax.el.ArrayELResolver in project tomcat by apache.
the class ELContextImpl method getDefaultResolver.
public static ELResolver getDefaultResolver(ExpressionFactory factory) {
if (Constants.IS_SECURITY_ENABLED) {
CompositeELResolver defaultResolver = new CompositeELResolver();
defaultResolver.add(factory.getStreamELResolver());
defaultResolver.add(new StaticFieldELResolver());
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;
}
}
use of javax.el.ArrayELResolver 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;
}
use of javax.el.ArrayELResolver in project sling by apache.
the class JspApplicationContextImpl method createELResolver.
private ELResolver createELResolver() {
this.instantiated = true;
if (this.resolver == null) {
CompositeELResolver r = new CompositeELResolver();
r.add(new ImplicitObjectELResolver());
for (Iterator itr = this.resolvers.iterator(); itr.hasNext(); ) {
r.add((ELResolver) itr.next());
}
r.add(new MapELResolver());
r.add(new ResourceBundleELResolver());
r.add(new ListELResolver());
r.add(new ArrayELResolver());
r.add(new BeanELResolver());
r.add(new ScopedAttributeELResolver());
this.resolver = r;
}
return this.resolver;
}
Aggregations