public class MessageChannelStreamListenerResultAdapter extends Object implements StreamListenerResultAdapter<org.springframework.messaging.MessageChannel,org.springframework.messaging.MessageChannel>
Constructor and Description |
---|
MessageChannelStreamListenerResultAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
adapt(org.springframework.messaging.MessageChannel streamListenerResult,
org.springframework.messaging.MessageChannel boundElement)
Adapts the result to the bound element.
|
boolean |
supports(Class<?> resultType,
Class<?> boundElement)
Return true if the result type can be converted to the bound element.
|
public MessageChannelStreamListenerResultAdapter()
public boolean supports(Class<?> resultType, Class<?> boundElement)
StreamListenerResultAdapter
supports
in interface StreamListenerResultAdapter<org.springframework.messaging.MessageChannel,org.springframework.messaging.MessageChannel>
resultType
- the result type.boundElement
- the bound element.public void adapt(org.springframework.messaging.MessageChannel streamListenerResult, org.springframework.messaging.MessageChannel boundElement)
StreamListenerResultAdapter
adapt
in interface StreamListenerResultAdapter<org.springframework.messaging.MessageChannel,org.springframework.messaging.MessageChannel>
streamListenerResult
- the result of invoking the method.boundElement
- the bound elementCopyright © 2016 Pivotal Software, Inc.. All rights reserved.