|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.util.AbstractMethodInvokingAdapter
org.springframework.integration.handler.AbstractMessageHandlerAdapter
org.springframework.integration.handler.MethodInvokingTarget
public class MethodInvokingTarget
A messaging target that invokes the specified method on the provided object.
| Field Summary |
|---|
| Fields inherited from class org.springframework.integration.handler.AbstractMessageHandlerAdapter |
|---|
OUTPUT_CHANNEL_NAME_KEY |
| Fields inherited from class org.springframework.integration.util.AbstractMethodInvokingAdapter |
|---|
logger |
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Constructor Summary | |
|---|---|
MethodInvokingTarget()
|
|
| Method Summary | |
|---|---|
protected Message<?> |
handleReturnValue(java.lang.Object returnValue,
Message<?> originalMessage)
Subclasses must implement this method to handle the return value. |
boolean |
send(Message<?> message)
|
| Methods inherited from class org.springframework.integration.handler.AbstractMessageHandlerAdapter |
|---|
createReplyMessage, getChannelRegistry, handle, setChannelRegistry, setMessageCreator, setMessageMapper, setMethodExpectsMessage |
| Methods inherited from class org.springframework.integration.util.AbstractMethodInvokingAdapter |
|---|
afterPropertiesSet, getMethod, getMethodName, getObject, getOrder, initialize, invokeMethod, isInitialized, setMethod, setMethodName, setObject, setOrder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodInvokingTarget()
| Method Detail |
|---|
public boolean send(Message<?> message)
send in interface MessageTarget
protected Message<?> handleReturnValue(java.lang.Object returnValue,
Message<?> originalMessage)
AbstractMessageHandlerAdapter
handleReturnValue in class AbstractMessageHandlerAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||