org.springframework.integration.config
Class MessageEndpointAnnotationPostProcessor

java.lang.Object
  extended by org.springframework.integration.config.MessageEndpointAnnotationPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean

public class MessageEndpointAnnotationPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean

A BeanPostProcessor implementation that generates endpoints for classes annotated with @MessageEndpoint.

Author:
Mark Fisher

Constructor Summary
MessageEndpointAnnotationPostProcessor()
           
 
Method Summary
 void afterPropertiesSet()
           
 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 setCustomHandlerCreators(java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,MessageHandlerCreator> customHandlerCreators)
           
 void setMessageBus(MessageBus messageBus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageEndpointAnnotationPostProcessor

public MessageEndpointAnnotationPostProcessor()
Method Detail

setMessageBus

public void setMessageBus(MessageBus messageBus)

setCustomHandlerCreators

public void setCustomHandlerCreators(java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,MessageHandlerCreator> customHandlerCreators)

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean

postProcessBeforeInitialization

public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
                                                        java.lang.String beanName)
                                                 throws org.springframework.beans.BeansException
Specified by:
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException

postProcessAfterInitialization

public java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
                                                       java.lang.String beanName)
                                                throws org.springframework.beans.BeansException
Specified by:
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException