Example usage for javax.el ArrayELResolver ArrayELResolver

List of usage examples for javax.el ArrayELResolver ArrayELResolver

Introduction

In this page you can find the example usage for javax.el ArrayELResolver ArrayELResolver.

Prototype

public ArrayELResolver(boolean readOnly) 

Source Link

Usage

From source file:org.apache.camel.language.juel.JuelExpression.java

/**
 * Factory method to create the EL context
 *///from  www . j a  va2 s. c o m
protected ELContext createContext() {
    ELResolver resolver = new CompositeELResolver() {
        {
            //add(methodResolver);
            add(new ArrayELResolver(false));
            add(new ListELResolver(false));
            add(new MapELResolver(false));
            add(new ResourceBundleELResolver());
            add(new BeanAndMethodELResolver());
        }
    };
    return new SimpleContext(resolver);
}