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
Constructors Constructor Description InboundChannelAdapterAnnotationPostProcessor(ConfigurableListableBeanFactory beanFactory) -
Method Summary
Modifier and Type Method Description protected MessageHandlercreateHandler(Object bean, Method method, List<Annotation> annotations)Subclasses must implement this method to create the MessageHandler.protected StringgenerateHandlerBeanName(String originalBeanName, Method method)protected StringgetInputChannelAttribute()ObjectpostProcess(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
-
Method Details
-
getInputChannelAttribute
- Overrides:
getInputChannelAttributein classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
-
postProcess
public Object postProcess(Object bean, String beanName, Method method, List<Annotation> annotations)- Specified by:
postProcessin interfaceMethodAnnotationPostProcessor<InboundChannelAdapter>- Overrides:
postProcessin classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
-
generateHandlerBeanName
- Overrides:
generateHandlerBeanNamein classAbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
-
createHandler
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.
-