Class InboundChannelAdapterAnnotationPostProcessor
java.lang.Object
org.springframework.integration.config.AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
org.springframework.integration.config.InboundChannelAdapterAnnotationPostProcessor
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- MethodAnnotationPostProcessor<InboundChannelAdapter>
public class InboundChannelAdapterAnnotationPostProcessor
extends AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
Post-processor for Methods annotated with 
@InboundChannelAdapter.- Since:
- 4.0
- Author:
- Artem Bilan, Gary Russell, Oleg Zhurakousky, Chris Bono
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.integration.config.AbstractMethodAnnotationPostProcessorAbstractMethodAnnotationPostProcessor.BeanDefinitionPropertiesMapper
- 
Field SummaryFields inherited from class org.springframework.integration.config.AbstractMethodAnnotationPostProcessorADVICE_CHAIN_ATTRIBUTE, annotationType, logger, messageHandlerAttributes, SEND_TIMEOUT_ATTRIBUTEFields inherited from interface org.springframework.integration.config.annotation.MethodAnnotationPostProcessorINPUT_CHANNEL_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected BeanDefinitioncreateEndpointBeanDefinition(ComponentDefinition handlerBeanDefinition, ComponentDefinition beanDefinition, List<Annotation> annotations) protected MessageHandlercreateHandler(Object bean, Method method, List<Annotation> annotations) Subclasses must implement this method to create the MessageHandler.protected StringgenerateHandlerBeanName(String originalBeanName, MergedAnnotations mergedAnnotations, @Nullable String methodName) postProcess(Object bean, String beanName, Method method, List<Annotation> annotations) protected BeanDefinitionresolveHandlerBeanDefinition(String beanName, AnnotatedBeanDefinition beanDefinition, ResolvableType handlerBeanType, List<Annotation> annotationChain) Methods inherited from class org.springframework.integration.config.AbstractMethodAnnotationPostProcessorbuildLambdaMessageProcessor, checkMessageHandlerAttributes, configurePollingEndpoint, createEndpoint, doCreateEndpoint, extractAdviceChain, generateHandlerBeanName, generateHandlerBeanName, getBeanFactory, getChannelResolver, getConversionService, getDefinitionRegistry, processBeanDefinition, resolveAttributeToBoolean, setBeanFactory, setOutputChannelIfPresentMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.config.annotation.MethodAnnotationPostProcessorbeanAnnotationAware, shouldCreateEndpoint, shouldCreateEndpoint, supportsPojoMethod
- 
Constructor Details- 
InboundChannelAdapterAnnotationPostProcessorpublic InboundChannelAdapterAnnotationPostProcessor()
 
- 
- 
Method Details- 
getInputChannelAttribute
- 
resolveHandlerBeanDefinitionprotected BeanDefinition resolveHandlerBeanDefinition(String beanName, AnnotatedBeanDefinition beanDefinition, ResolvableType handlerBeanType, List<Annotation> annotationChain) - Overrides:
- resolveHandlerBeanDefinitionin class- AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
 
- 
createEndpointBeanDefinitionprotected BeanDefinition createEndpointBeanDefinition(ComponentDefinition handlerBeanDefinition, ComponentDefinition beanDefinition, List<Annotation> annotations) - Overrides:
- createEndpointBeanDefinitionin class- AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
 
- 
postProcesspublic Object postProcess(Object bean, String beanName, Method method, List<Annotation> annotations) - Specified by:
- postProcessin interface- MethodAnnotationPostProcessor<InboundChannelAdapter>
- Overrides:
- postProcessin class- AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
 
- 
generateHandlerBeanNameprotected String generateHandlerBeanName(String originalBeanName, MergedAnnotations mergedAnnotations, @Nullable String methodName) - Overrides:
- generateHandlerBeanNamein class- AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
 
- 
createHandlerDescription copied from class:AbstractMethodAnnotationPostProcessorSubclasses must implement this method to create the MessageHandler.- Specified by:
- createHandlerin class- AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
- Parameters:
- bean- The bean.
- method- The method.
- annotations- The messaging annotation (or meta-annotation hierarchy) on the method.
- Returns:
- The MessageHandler.
 
 
-