org.springframework.integration.endpoint
Class ExpressionEvaluatingMessageSource<T>

java.lang.Object
  extended by org.springframework.integration.util.AbstractExpressionEvaluator
      extended by org.springframework.integration.endpoint.AbstractMessageSource<T>
          extended by org.springframework.integration.endpoint.ExpressionEvaluatingMessageSource<T>
All Implemented Interfaces:
BeanFactoryAware, MessageSource<T>

public class ExpressionEvaluatingMessageSource<T>
extends AbstractMessageSource<T>

Since:
2.0

Constructor Summary
ExpressionEvaluatingMessageSource(Expression expression, java.lang.Class<T> expectedType)
           
 
Method Summary
 T doReceive()
          Subclasses must implement this method.
 
Methods inherited from class org.springframework.integration.endpoint.AbstractMessageSource
receive, setHeaderExpressions
 
Methods inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, setBeanFactory, setBeanResolver, setConversionService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionEvaluatingMessageSource

public ExpressionEvaluatingMessageSource(Expression expression,
                                         java.lang.Class<T> expectedType)
Method Detail

doReceive

public T doReceive()
Description copied from class: AbstractMessageSource
Subclasses must implement this method. Typically the returned value will be the payload of type T, but the returned value may also be a Message instance whose payload is of type T.

Specified by:
doReceive in class AbstractMessageSource<T>