public interface StreamListenerParameterAdapter<A,B>
Input
or
Output
from a bound element
(e.g. MessageChannel
) supported by an
existing binder.
This is a framework extension and is not primarily intended for use by end-users.Modifier and Type | Method and Description |
---|---|
A |
adapt(B boundElement,
org.springframework.core.MethodParameter parameter)
Adapts the bound element to the argument type.
|
boolean |
supports(Class<?> boundElementType,
org.springframework.core.MethodParameter methodParameter)
Return true if the conversion from the bound element type to the argument type
is supported.
|
boolean supports(Class<?> boundElementType, org.springframework.core.MethodParameter methodParameter)
boundElementType
- the bound element typemethodParameter
- the method parameter for which the conversion is performedA adapt(B boundElement, org.springframework.core.MethodParameter parameter)
StreamListener
when used for setting up a pipeline.boundElement
- the bound elementparameter
- the method parameter for which the conversion is performedCopyright © 2016 Pivotal Software, Inc.. All rights reserved.