|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.handler.AbstractMessageProcessor<T>
org.springframework.integration.handler.ExpressionEvaluatingMessageProcessor<T>
public class ExpressionEvaluatingMessageProcessor<T>
A MessageProcessor implementation that evaluates a SpEL expression
with the Message itself as the root object within the evaluation context.
| Constructor Summary | |
|---|---|
ExpressionEvaluatingMessageProcessor(Expression expression)
Create an ExpressionEvaluatingMessageProcessor for the given expression. |
|
ExpressionEvaluatingMessageProcessor(Expression expression,
java.lang.Class<T> expectedType)
Create an ExpressionEvaluatingMessageProcessor for the given expression
and expected type for its evaluation result. |
|
| Method Summary | |
|---|---|
T |
processMessage(Message<?> message)
Processes the Message by evaluating the expression with that Message as the root object. |
| 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 |
|---|
public ExpressionEvaluatingMessageProcessor(Expression expression)
ExpressionEvaluatingMessageProcessor for the given expression.
public ExpressionEvaluatingMessageProcessor(Expression expression,
java.lang.Class<T> expectedType)
ExpressionEvaluatingMessageProcessor for the given expression
and expected type for its evaluation result.
| Method Detail |
|---|
public T processMessage(Message<?> message)
processMessage in interface MessageProcessor<T>processMessage in class AbstractMessageProcessor<T>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||