public class MessagingAnnotationPostProcessor extends Object implements BeanPostProcessor, BeanFactoryAware, InitializingBean, SmartInitializingSingleton
BeanPostProcessor
implementation that processes method-level
messaging annotations such as @Transformer, @Splitter, @Router, and @Filter.Constructor and Description |
---|
MessagingAnnotationPostProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
afterSingletonsInstantiated() |
protected ConfigurableListableBeanFactory |
getBeanFactory() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setRequireComponentAnnotation(boolean requireComponentAnnotation) |
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
public void setRequireComponentAnnotation(boolean requireComponentAnnotation)
requireComponentAnnotation
- the boolean
flag to indicate requirements for the
Component
annotation presentation for the messaging annotations.IntegrationProperties.REQUIRE_COMPONENT_ANNOTATION
protected ConfigurableListableBeanFactory getBeanFactory()
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
public void afterSingletonsInstantiated()
afterSingletonsInstantiated
in interface SmartInitializingSingleton
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException