Spring Integration

org.springframework.integration.config.annotation
Class RouterAnnotationPostProcessor

java.lang.Object
  extended by org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor<Router>
      extended by org.springframework.integration.config.annotation.RouterAnnotationPostProcessor
All Implemented Interfaces:
MethodAnnotationPostProcessor<Router>

public class RouterAnnotationPostProcessor
extends AbstractMethodAnnotationPostProcessor<Router>

Post-processor for Methods annotated with @Router.

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
beanFactory, channelResolver
 
Constructor Summary
RouterAnnotationPostProcessor(org.springframework.beans.factory.ListableBeanFactory beanFactory)
           
 
Method Summary
protected  MessageHandler createHandler(java.lang.Object bean, java.lang.reflect.Method method, Router annotation)
          Subclasses must implement this method to create the MessageHandler.
 
Methods inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
postProcess, shouldCreateEndpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouterAnnotationPostProcessor

public RouterAnnotationPostProcessor(org.springframework.beans.factory.ListableBeanFactory beanFactory)
Method Detail

createHandler

protected MessageHandler createHandler(java.lang.Object bean,
                                       java.lang.reflect.Method method,
                                       Router annotation)
Description copied from class: AbstractMethodAnnotationPostProcessor
Subclasses must implement this method to create the MessageHandler.

Specified by:
createHandler in class AbstractMethodAnnotationPostProcessor<Router>

Spring Integration