Example usage for org.apache.commons.ognl OgnlContext OgnlContext

List of usage examples for org.apache.commons.ognl OgnlContext OgnlContext

Introduction

In this page you can find the example usage for org.apache.commons.ognl OgnlContext OgnlContext.

Prototype

public OgnlContext(ClassResolver classResolver, TypeConverter typeConverter, MemberAccess memberAccess) 

Source Link

Document

Constructs a new OgnlContext with the given class resolver, type converter and member access.

Usage

From source file:interactivespaces.expression.OgnlExpressionFactory.java

/**
 * Get a new OGNL context./*from  w w  w . jav a  2  s  .c o m*/
 *
 * @return
 */
private OgnlContext newOgnlContext() {
    return new OgnlContext(new MyClassResolver(), OgnlContext.DEFAULT_TYPE_CONVERTER,
            OgnlContext.DEFAULT_MEMBER_ACCESS);

}