Spring Integration

org.springframework.integration.util
Class AbstractExpressionEvaluator

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

public abstract class AbstractExpressionEvaluator
extends Object
implements BeanFactoryAware

Since:
2.0
Author:
Mark Fisher, Dave Syer

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

setConversionService

public void setConversionService(ConversionService conversionService)

getEvaluationContext

public StandardEvaluationContext getEvaluationContext()

evaluateExpression

protected <T> T evaluateExpression(Expression expression,
                                   Message<?> message,
                                   Class<T> expectedType)

evaluateExpression

protected Object evaluateExpression(String expression,
                                    Object input)

evaluateExpression

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

evaluateExpression

protected Object evaluateExpression(Expression expression,
                                    Object input)

evaluateExpression

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

Spring Integration

Copyright © 2010. All Rights Reserved.