org.springframework.integration.util
Class AbstractExpressionEvaluator

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

public abstract class AbstractExpressionEvaluator
extends java.lang.Object
implements BeanFactoryAware

Since:
2.0

Constructor Summary
AbstractExpressionEvaluator()
           
 
Method Summary
protected  java.lang.Object evaluateExpression(Expression expression)
           
protected
<T> T
evaluateExpression(Expression expression, java.lang.Class<T> expectedType)
           
protected
<T> T
evaluateExpression(Expression expression, Message<?> message, java.lang.Class<T> expectedType)
           
protected  java.lang.Object evaluateExpression(Expression expression, java.lang.Object input)
           
protected
<T> T
evaluateExpression(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  StandardEvaluationContext getEvaluationContext()
           
 void setBeanFactory(BeanFactory beanFactory)
          Specify a BeanFactory in order to enable resolution via @beanName in the expression.
 void setBeanResolver(BeanResolver beanResolver)
           
 void setConversionService(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(BeanFactory beanFactory)
Specify a BeanFactory in order to enable resolution via @beanName in the expression.

Specified by:
setBeanFactory in interface BeanFactoryAware

setBeanResolver

public void setBeanResolver(BeanResolver beanResolver)

setConversionService

public void setConversionService(ConversionService conversionService)

getEvaluationContext

protected StandardEvaluationContext getEvaluationContext()

evaluateExpression

protected <T> T evaluateExpression(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(Expression expression,
                                              java.lang.Object input)

evaluateExpression

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

evaluateExpression

protected java.lang.Object evaluateExpression(Expression expression)

evaluateExpression

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