public class MessagingAnnotationPostProcessor extends 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) |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
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 Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException
public void onApplicationEvent(ApplicationEvent event)
onApplicationEvent
in interface ApplicationListener<ApplicationEvent>