Interface StreamListenerResultAdapter<R,B>
-
- Type Parameters:
R- stream listener result typeB- binding target type
- All Known Implementing Classes:
MessageChannelStreamListenerResultAdapter
public interface StreamListenerResultAdapter<R,B>A strategy for adapting the result of aStreamListenerannotated method to a binding target annotated withOutput. Used when theStreamListenerannotated method is operating in declarative mode.- Author:
- Marius Bogoevici
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Closeableadapt(R streamListenerResult, B bindingTarget)Adapts the result to the binding target.booleansupports(Class<?> resultType, Class<?> bindingTarget)Return true if the result type can be converted to the binding target.
-