Spring Integration

org.springframework.integration.util
Class AbstractExpressionEvaluator

java.lang.Object
  extended by org.springframework.integration.util.AbstractExpressionEvaluator
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware
Direct Known Subclasses:
AbstractMessageProcessor, AbstractMessageSource, DefaultFileNameGenerator, ExpressionEvaluatingMessageListProcessor, ExpressionEvaluatingSqlParameterSourceFactory, MessagingMethodInvokerHelper, MethodInvokingMessageListProcessor

public abstract class AbstractExpressionEvaluator
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware

Since:
2.0
Author:
Mark Fisher, Dave Syer, Oleg Zhurakousky

Constructor Summary
AbstractExpressionEvaluator()
           
 
Method Summary
protected  java.lang.Object evaluateExpression(org.springframework.expression.Expression expression)
           
protected
<T> T
evaluateExpression(org.springframework.expression.Expression expression, java.lang.Class<T> expectedType)
           
protected
<T> T
evaluateExpression(org.springframework.expression.Expression expression, Message<?> message, java.lang.Class<T> expectedType)
           
protected  java.lang.Object evaluateExpression(org.springframework.expression.Expression expression, java.lang.Object input)
           
protected
<T> T
evaluateExpression(org.springframework.expression.Expression expression, java.lang.Object input, java.lang.Class<T> expectedType)
           
protected  java.lang.Object evaluateExpression(java.lang.String expression, java.lang.Object input)
           
protected
<T> T
evaluateExpression(java.lang.String expression, java.lang.Object input, java.lang.Class<T> expectedType)
           
protected  org.springframework.expression.spel.support.StandardEvaluationContext getEvaluationContext()
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
          Specify a BeanFactory in order to enable resolution via @beanName in the expression.
 void setBeanResolver(org.springframework.expression.BeanResolver beanResolver)
           
 void setConversionService(org.springframework.core.convert.ConversionService conversionService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractExpressionEvaluator

public AbstractExpressionEvaluator()
Method Detail

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Specify a BeanFactory in order to enable resolution via @beanName in the expression.

Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware

setBeanResolver

public void setBeanResolver(org.springframework.expression.BeanResolver beanResolver)

setConversionService

public void setConversionService(org.springframework.core.convert.ConversionService conversionService)

getEvaluationContext

protected org.springframework.expression.spel.support.StandardEvaluationContext getEvaluationContext()

evaluateExpression

protected <T> T evaluateExpression(org.springframework.expression.Expression expression,
                                   Message<?> message,
                                   java.lang.Class<T> expectedType)

evaluateExpression

protected java.lang.Object evaluateExpression(java.lang.String expression,
                                              java.lang.Object input)

evaluateExpression

protected <T> T evaluateExpression(java.lang.String expression,
                                   java.lang.Object input,
                                   java.lang.Class<T> expectedType)

evaluateExpression

protected java.lang.Object evaluateExpression(org.springframework.expression.Expression expression,
                                              java.lang.Object input)

evaluateExpression

protected <T> T evaluateExpression(org.springframework.expression.Expression expression,
                                   java.lang.Class<T> expectedType)

evaluateExpression

protected java.lang.Object evaluateExpression(org.springframework.expression.Expression expression)

evaluateExpression

protected <T> T evaluateExpression(org.springframework.expression.Expression expression,
                                   java.lang.Object input,
                                   java.lang.Class<T> expectedType)

Spring Integration