public interface StreamListenerResultAdapter<R,B>
StreamListener
annotated method to a bound element annotated with Output
.
Used when the StreamListener
annotated method is operating in
declarative mode.Modifier and Type | Method and Description |
---|---|
void |
adapt(R streamListenerResult,
B 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.
|
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.