R - stream listener result typeB - binding target typepublic interface StreamListenerResultAdapter<R,B>
StreamListener annotated method to
a binding target annotated with
Output.
Used when the StreamListener
annotated method is operating in declarative mode.| Modifier and Type | Method and Description |
|---|---|
Closeable |
adapt(R streamListenerResult,
B bindingTarget)
Adapts the result to the binding target.
|
boolean |
supports(Class<?> resultType,
Class<?> bindingTarget)
Return true if the result type can be converted to the binding target.
|
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.