org.springframework.integration.util
Class AbstractExpressionEvaluator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractExpressionEvaluator
public AbstractExpressionEvaluator()
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)