public class KStreamListenerSetupMethodOrchestrator extends Object implements org.springframework.cloud.stream.binding.StreamListenerSetupMethodOrchestrator, org.springframework.context.ApplicationContextAware
StreamListenerSetupMethodOrchestrator
that overrides the default mechanisms for invoking StreamListener adapters.| Constructor and Description |
|---|
KStreamListenerSetupMethodOrchestrator(org.springframework.cloud.stream.binding.StreamListenerParameterAdapter streamListenerParameterAdapter,
Collection<org.springframework.cloud.stream.binding.StreamListenerResultAdapter> streamListenerResultAdapters) |
| Modifier and Type | Method and Description |
|---|---|
void |
orchestrateStreamListenerSetupMethod(org.springframework.cloud.stream.annotation.StreamListener streamListener,
Method method,
Object bean) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
boolean |
supports(Method method) |
public KStreamListenerSetupMethodOrchestrator(org.springframework.cloud.stream.binding.StreamListenerParameterAdapter streamListenerParameterAdapter,
Collection<org.springframework.cloud.stream.binding.StreamListenerResultAdapter> streamListenerResultAdapters)
public boolean supports(Method method)
supports in interface org.springframework.cloud.stream.binding.StreamListenerSetupMethodOrchestratorpublic void orchestrateStreamListenerSetupMethod(org.springframework.cloud.stream.annotation.StreamListener streamListener,
Method method,
Object bean)
orchestrateStreamListenerSetupMethod in interface org.springframework.cloud.stream.binding.StreamListenerSetupMethodOrchestratorpublic final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.