all expressions should be serializable

This commit is contained in:
Keith Donald
2008-04-21 22:23:50 +00:00
parent daf44454e2
commit 9c83674206

View File

@@ -15,6 +15,8 @@
*/
package org.springframework.binding.expression;
import java.io.Serializable;
/**
* An expression capable of evaluating itself against context objects. Encapsulates the details of a previously parsed
* expression string. Provides a common abstraction for expression evaluation independent of any language like OGNL or
@@ -22,7 +24,7 @@ package org.springframework.binding.expression;
*
* @author Keith Donald
*/
public interface Expression {
public interface Expression extends Serializable {
/**
* Evaluate this expression in the provided context and return the result of evaluation.