Spring Integration

org.springframework.integration.config.annotation
Class MessagingAnnotationPostProcessor

java.lang.Object
  extended by org.springframework.integration.config.annotation.MessagingAnnotationPostProcessor
All Implemented Interfaces:
EventListener, BeanFactoryAware, BeanPostProcessor, InitializingBean, ApplicationListener<ApplicationEvent>, Lifecycle

public class MessagingAnnotationPostProcessor
extends Object
implements BeanPostProcessor, BeanFactoryAware, InitializingBean, Lifecycle, ApplicationListener<ApplicationEvent>

A BeanPostProcessor implementation that processes method-level messaging annotations such as @Transformer, @Splitter, @Router, and @Filter.

Author:
Mark Fisher, Marius Bogoevici

Constructor Summary
MessagingAnnotationPostProcessor()
           
 
Method Summary
 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 start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagingAnnotationPostProcessor

public MessagingAnnotationPostProcessor()
Method Detail

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
Specified by:
setBeanFactory in interface BeanFactoryAware

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface InitializingBean

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object bean,
                                              String beanName)
                                       throws BeansException
Specified by:
postProcessBeforeInitialization in interface BeanPostProcessor
Throws:
BeansException

postProcessAfterInitialization

public Object postProcessAfterInitialization(Object bean,
                                             String beanName)
                                      throws BeansException
Specified by:
postProcessAfterInitialization in interface BeanPostProcessor
Throws:
BeansException

onApplicationEvent

public void onApplicationEvent(ApplicationEvent event)
Specified by:
onApplicationEvent in interface ApplicationListener<ApplicationEvent>

isRunning

public boolean isRunning()
Specified by:
isRunning in interface Lifecycle

start

public void start()
Specified by:
start in interface Lifecycle

stop

public void stop()
Specified by:
stop in interface Lifecycle

Spring Integration

Copyright © 2010. All Rights Reserved.