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() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSingletonsInstantiated() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
protected StreamListener |
postProcessAnnotation(StreamListener originalAnnotation,
Method annotatedMethod)
Extension point, allowing subclasses to customize the
StreamListener
annotation detected by the postprocessor. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public StreamListenerAnnotationBeanPostProcessor()
public final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic final void afterSingletonsInstantiated()
afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingletonpublic final Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionprotected StreamListener postProcessAnnotation(StreamListener originalAnnotation, Method annotatedMethod)
StreamListener
annotation detected by the postprocessor.originalAnnotation - the original annotationannotatedMethod - the method on which the annotation has been foundStreamListener annotationCopyright © 2021 Pivotal Software, Inc.. All rights reserved.