Class MessagingAnnotationBeanPostProcessor
java.lang.Object
org.springframework.integration.config.MessagingAnnotationBeanPostProcessor
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- BeanPostProcessor,- SmartInitializingSingleton
public class MessagingAnnotationBeanPostProcessor
extends Object
implements BeanPostProcessor, BeanFactoryAware, SmartInitializingSingleton
An infrastructure 
BeanPostProcessor implementation that processes method-level
 messaging annotations such as @Transformer, @Splitter, @Router, and @Filter.- Since:
- 6.2
- Author:
- Artem Bilan
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final record
- 
Constructor SummaryConstructorsConstructorDescriptionMessagingAnnotationBeanPostProcessor(Map<Class<? extends Annotation>, MethodAnnotationPostProcessor<?>> postProcessors) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidprotected StringgenerateBeanName(String originalBeanName, Method method, Class<? extends Annotation> annotationType) protected static List<MessagingAnnotationBeanPostProcessor.MessagingMetaAnnotation> obtainMessagingAnnotations(Set<Class<? extends Annotation>> postProcessors, MergedAnnotations annotations, String identified) postProcessAfterInitialization(Object bean, String beanName) voidsetBeanFactory(BeanFactory beanFactory) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessorpostProcessBeforeInitialization
- 
Constructor Details- 
MessagingAnnotationBeanPostProcessorpublic MessagingAnnotationBeanPostProcessor(Map<Class<? extends Annotation>, MethodAnnotationPostProcessor<?>> postProcessors) 
 
- 
- 
Method Details- 
setBeanFactory- Specified by:
- setBeanFactoryin interface- BeanFactoryAware
- Throws:
- BeansException
 
- 
postProcessAfterInitialization- Specified by:
- postProcessAfterInitializationin interface- BeanPostProcessor
- Throws:
- BeansException
 
- 
generateBeanNameprotected String generateBeanName(String originalBeanName, Method method, Class<? extends Annotation> annotationType) 
- 
afterSingletonsInstantiatedpublic void afterSingletonsInstantiated()- Specified by:
- afterSingletonsInstantiatedin interface- SmartInitializingSingleton
 
- 
obtainMessagingAnnotationsprotected static List<MessagingAnnotationBeanPostProcessor.MessagingMetaAnnotation> obtainMessagingAnnotations(Set<Class<? extends Annotation>> postProcessors, MergedAnnotations annotations, String identified) 
 
-