public class InboundChannelAdapterAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
@InboundChannelAdapter.beanFactory, channelResolver, environment| Constructor and Description |
|---|
InboundChannelAdapterAnnotationPostProcessor(ListableBeanFactory beanFactory,
Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
protected MessageHandler |
createHandler(Object bean,
Method method,
InboundChannelAdapter annotation)
Subclasses must implement this method to create the MessageHandler.
|
protected String |
generateHandlerBeanName(String originalBeanName,
Method method,
Class<? extends Annotation> annotationType) |
Object |
postProcess(Object bean,
String beanName,
Method method,
InboundChannelAdapter annotation) |
configurePollingEndpoint, setAdviceChainIfPresentpublic InboundChannelAdapterAnnotationPostProcessor(ListableBeanFactory beanFactory, Environment environment)
public Object postProcess(Object bean, String beanName, Method method, InboundChannelAdapter annotation)
postProcess in interface MethodAnnotationPostProcessor<InboundChannelAdapter>postProcess in class AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>protected String generateHandlerBeanName(String originalBeanName, Method method, Class<? extends Annotation> annotationType)
generateHandlerBeanName in class AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>protected MessageHandler createHandler(Object bean, Method method, InboundChannelAdapter annotation)
AbstractMethodAnnotationPostProcessorcreateHandler in class AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>bean - The bean.method - The method.annotation - The annotation.