org.springframework.integration.config.annotation
Class HandlerAnnotationPostProcessor
java.lang.Object
org.springframework.integration.config.annotation.AbstractAnnotationMethodPostProcessor<MessageHandler>
org.springframework.integration.config.annotation.HandlerAnnotationPostProcessor
- All Implemented Interfaces:
- AnnotationMethodPostProcessor
public class HandlerAnnotationPostProcessor
- extends AbstractAnnotationMethodPostProcessor<MessageHandler>
Post-processor for the @Handler
annotation.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handlerCreators
private final java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,MessageHandlerCreator> handlerCreators
defaultHandlerCreator
private final MessageHandlerCreator defaultHandlerCreator
HandlerAnnotationPostProcessor
public HandlerAnnotationPostProcessor(MessageBus messageBus,
java.lang.ClassLoader beanClassLoader)
setCustomHandlerCreators
public void setCustomHandlerCreators(java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,MessageHandlerCreator> customHandlerCreators)
processMethod
protected MessageHandler processMethod(java.lang.Object bean,
java.lang.reflect.Method method,
java.lang.annotation.Annotation annotation)
- Specified by:
processMethod
in class AbstractAnnotationMethodPostProcessor<MessageHandler>
processResults
protected MessageHandler processResults(java.util.List<MessageHandler> results)
- Specified by:
processResults
in class AbstractAnnotationMethodPostProcessor<MessageHandler>
createEndpoint
public MessageEndpoint createEndpoint(java.lang.Object bean,
java.lang.String beanName,
java.lang.Class<?> originalBeanClass,
MessageEndpoint endpointAnnotation)