Class InboundChannelAdapterAnnotationPostProcessor
java.lang.Object
org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
org.springframework.integration.config.annotation.InboundChannelAdapterAnnotationPostProcessor
- All Implemented Interfaces:
MethodAnnotationPostProcessor<InboundChannelAdapter>
public class InboundChannelAdapterAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
Post-processor for Methods annotated with
@InboundChannelAdapter.- Since:
- 4.0
-
Field Summary
Fields inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
annotationType, beanFactory, channelResolver, conversionService, disposables, logger, messageHandlerAttributes, SEND_TIMEOUT_ATTRIBUTE -
Constructor Summary
Constructors Constructor Description InboundChannelAdapterAnnotationPostProcessor(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) -
Method Summary
Modifier and Type Method Description protected org.springframework.messaging.MessageHandlercreateHandler(java.lang.Object bean, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)Subclasses must implement this method to create the MessageHandler.protected java.lang.StringgenerateHandlerBeanName(java.lang.String originalBeanName, java.lang.reflect.Method method)protected java.lang.StringgetInputChannelAttribute()java.lang.ObjectpostProcess(java.lang.Object bean, java.lang.String beanName, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)Methods inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
beanAnnotationAware, buildLambdaMessageProcessorForBeanMethod, checkMessageHandlerAttributes, configurePollingEndpoint, createEndpoint, doCreateEndpoint, extractAdviceChain, extractTypeIfPossible, resolveAttributeToBoolean, resolveTargetBeanFromMethodWithBeanAnnotation, resolveTargetBeanName, setOutputChannelIfPresent, shouldCreateEndpoint
-
Constructor Details
-
InboundChannelAdapterAnnotationPostProcessor
public InboundChannelAdapterAnnotationPostProcessor(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
-
Method Details
-
getInputChannelAttribute
protected java.lang.String getInputChannelAttribute()- Overrides:
getInputChannelAttributein classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
-
postProcess
public java.lang.Object postProcess(java.lang.Object bean, java.lang.String beanName, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)- Specified by:
postProcessin interfaceMethodAnnotationPostProcessor<InboundChannelAdapter>- Overrides:
postProcessin classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
-
generateHandlerBeanName
protected java.lang.String generateHandlerBeanName(java.lang.String originalBeanName, java.lang.reflect.Method method)- Overrides:
generateHandlerBeanNamein classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
-
createHandler
protected org.springframework.messaging.MessageHandler createHandler(java.lang.Object bean, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)Description copied from class:AbstractMethodAnnotationPostProcessorSubclasses must implement this method to create the MessageHandler.- Specified by:
createHandlerin classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>- Parameters:
bean- The bean.method- The method.annotations- The messaging annotation (or meta-annotation hierarchy) on the method.- Returns:
- The MessageHandler.
-