public class StreamListenerAnnotationBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.SmartInitializingSingleton
BeanPostProcessor that handles StreamListener annotations found on bean methods.| Constructor and Description |
|---|
StreamListenerAnnotationBeanPostProcessor(org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel> binderAwareChannelResolver,
org.springframework.messaging.handler.annotation.support.MessageHandlerMethodFactory messageHandlerMethodFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSingletonsInstantiated() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
protected void |
registerHandlerMethodOnListenedChannel(Method method,
StreamListener streamListener,
Object bean) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public StreamListenerAnnotationBeanPostProcessor(org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel> binderAwareChannelResolver,
org.springframework.messaging.handler.annotation.support.MessageHandlerMethodFactory messageHandlerMethodFactory)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionprotected void registerHandlerMethodOnListenedChannel(Method method, StreamListener streamListener, Object bean)
public void afterSingletonsInstantiated()
afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingletonCopyright © 2016 Pivotal Software, Inc.. All rights reserved.