Search in sources :

Example 1 with MapELResolver

use of jakarta.el.MapELResolver 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;
    }
}
Also used : StaticFieldELResolver(jakarta.el.StaticFieldELResolver) CompositeELResolver(jakarta.el.CompositeELResolver) ResourceBundleELResolver(jakarta.el.ResourceBundleELResolver) ListELResolver(jakarta.el.ListELResolver) MapELResolver(jakarta.el.MapELResolver) ArrayELResolver(jakarta.el.ArrayELResolver) BeanELResolver(jakarta.el.BeanELResolver)

Aggregations

ArrayELResolver (jakarta.el.ArrayELResolver)1 BeanELResolver (jakarta.el.BeanELResolver)1 CompositeELResolver (jakarta.el.CompositeELResolver)1 ListELResolver (jakarta.el.ListELResolver)1 MapELResolver (jakarta.el.MapELResolver)1 ResourceBundleELResolver (jakarta.el.ResourceBundleELResolver)1 StaticFieldELResolver (jakarta.el.StaticFieldELResolver)1