public interface StreamListenerParameterAdapter<A,B>
Input
or
Output
from a binding type (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 bindingTarget,
org.springframework.core.MethodParameter parameter)
Adapts the binding target to the argument type.
|
boolean |
supports(Class<?> bindingTargetType,
org.springframework.core.MethodParameter methodParameter)
Return true if the conversion from the binding target type to the argument type is
supported.
|
boolean supports(Class<?> bindingTargetType, org.springframework.core.MethodParameter methodParameter)
bindingTargetType
- the binding target typemethodParameter
- the method parameter for which the conversion is performedA adapt(B bindingTarget, org.springframework.core.MethodParameter parameter)
StreamListener
when used for
setting up a pipeline.bindingTarget
- the binding targetparameter
- the method parameter for which the conversion is performedCopyright © 2019 Pivotal Software, Inc.. All rights reserved.