public class MessagingAnnotationPostProcessor extends java.lang.Object implements BeanPostProcessor, BeanFactoryAware, InitializingBean, Lifecycle, ApplicationListener<ApplicationEvent>, EnvironmentAware
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() |
boolean |
isRunning() |
void |
onApplicationEvent(ApplicationEvent event) |
java.lang.Object |
postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setEnvironment(Environment environment) |
void |
start() |
void |
stop() |
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
public java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException
public void onApplicationEvent(ApplicationEvent event)
onApplicationEvent
in interface ApplicationListener<ApplicationEvent>