use of jakarta.el.CompositeELResolver 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 jakarta.el.CompositeELResolver in project tomcat by apache.
the class JspApplicationContextImpl method createELResolver.
private ELResolver createELResolver() {
this.instantiated = true;
if (this.resolver == null) {
CompositeELResolver r = new JasperELResolver(this.resolvers, expressionFactory.getStreamELResolver());
this.resolver = r;
}
return this.resolver;
}
Aggregations