org.springframework.integration.config.annotation
Class AbstractMethodAnnotationPostProcessor<T extends Annotation>
java.lang.Object
org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor<T>
- All Implemented Interfaces:
- MethodAnnotationPostProcessor<T>
- Direct Known Subclasses:
- AggregatorAnnotationPostProcessor, FilterAnnotationPostProcessor, RouterAnnotationPostProcessor, ServiceActivatorAnnotationPostProcessor, SplitterAnnotationPostProcessor, TransformerAnnotationPostProcessor
public abstract class AbstractMethodAnnotationPostProcessor<T extends Annotation>
- extends Object
- implements MethodAnnotationPostProcessor<T>
Base class for Method-level annotation post-processors.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beanFactory
protected final BeanFactory beanFactory
channelResolver
protected final ChannelResolver channelResolver
AbstractMethodAnnotationPostProcessor
public AbstractMethodAnnotationPostProcessor(ListableBeanFactory beanFactory)
postProcess
public Object postProcess(Object bean,
String beanName,
Method method,
T annotation)
- Specified by:
postProcess
in interface MethodAnnotationPostProcessor<T extends Annotation>
shouldCreateEndpoint
protected boolean shouldCreateEndpoint(T annotation)
createHandler
protected abstract MessageHandler createHandler(Object bean,
Method method,
T annotation)
- Subclasses must implement this method to create the MessageHandler.
Copyright © 2010. All Rights Reserved.