Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2004-2008 the original author or authors.
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
package org.springframework.binding.expression.el;
A factory for creating a EL context object that will be used to evaluate a target object of an EL expression. Note this ELContextFactory is not used at parse time, only evaluation time. Therefore, factories should not be concerned with setting up parse-time context attributes such as the variable mapper and function mapper that play no part during expression evaluation.

Keith Donald
Jeremy Grelle
public interface ELContextFactory extends Serializable {

Configures and returns an javax.el.ELContext to be used in evaluating EL expressions on the given base target object. In certain environments the target will be null and the base object of the expression is expected to be resolved via the ELContext's javax.el.ELResolver chain.

target The base object for the expression evaluation
ELContext The configured ELContext instance for evaluating expressions.
	public ELContext getELContext(Object target);
New to GrepCode? Check out our FAQ X