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
- Author:
- Artem Bilan, Gary Russell, Oleg Zhurakousky
-
Field Summary
Fields inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
annotationType, beanFactory, conversionService, definitionRegistry, logger, messageHandlerAttributes, SEND_TIMEOUT_ATTRIBUTE
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected MessageHandler
createHandler
(Object bean, Method method, List<Annotation> annotations) Subclasses must implement this method to create the MessageHandler.protected String
generateHandlerBeanName
(String originalBeanName, Method method) protected String
postProcess
(Object bean, String beanName, Method method, List<Annotation> annotations) Methods inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
beanAnnotationAware, buildLambdaMessageProcessorForBeanMethod, checkMessageHandlerAttributes, configurePollingEndpoint, createEndpoint, doCreateEndpoint, extractAdviceChain, extractTypeIfPossible, getChannelResolver, resolveAttributeToBoolean, resolveTargetBeanFromMethodWithBeanAnnotation, resolveTargetBeanName, setOutputChannelIfPresent, shouldCreateEndpoint
-
Constructor Details
-
InboundChannelAdapterAnnotationPostProcessor
-
-
Method Details
-
getInputChannelAttribute
- Overrides:
getInputChannelAttribute
in classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
-
postProcess
public Object postProcess(Object bean, String beanName, Method method, List<Annotation> annotations) - Specified by:
postProcess
in interfaceMethodAnnotationPostProcessor<InboundChannelAdapter>
- Overrides:
postProcess
in classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
-
generateHandlerBeanName
- Overrides:
generateHandlerBeanName
in classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
-
createHandler
Description copied from class:AbstractMethodAnnotationPostProcessor
Subclasses must implement this method to create the MessageHandler.- Specified by:
createHandler
in classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
- Parameters:
bean
- The bean.method
- The method.annotations
- The messaging annotation (or meta-annotation hierarchy) on the method.- Returns:
- The MessageHandler.
-