Search in sources :

Example 1 with StaticFieldELResolver

use of javax.el.StaticFieldELResolver 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(javax.el.StaticFieldELResolver) CompositeELResolver(javax.el.CompositeELResolver) ResourceBundleELResolver(javax.el.ResourceBundleELResolver) ListELResolver(javax.el.ListELResolver) MapELResolver(javax.el.MapELResolver) ArrayELResolver(javax.el.ArrayELResolver) BeanELResolver(javax.el.BeanELResolver)

Aggregations

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