Example usage for javax.el ListELResolver ListELResolver

List of usage examples for javax.el ListELResolver ListELResolver

Introduction

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

Prototype

public ListELResolver(boolean readOnly) 

Source Link

Usage

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

/**
 * Factory method to create the EL context
 *///from   ww w  .j a  v  a2s.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);
}