public class InboundChannelAdapterAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
@InboundChannelAdapter
.annotationType, beanFactory, channelResolver, conversionService, disposables, logger, messageHandlerAttributes, SEND_TIMEOUT_ATTRIBUTE
Constructor and Description |
---|
InboundChannelAdapterAnnotationPostProcessor(ConfigurableListableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected 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 |
getInputChannelAttribute() |
Object |
postProcess(Object bean,
String beanName,
Method method,
List<Annotation> annotations) |
beanAnnotationAware, buildLambdaMessageProcessorForBeanMethod, checkMessageHandlerAttributes, configurePollingEndpoint, createEndpoint, doCreateEndpoint, extractAdviceChain, extractTypeIfPossible, resolveAttributeToBoolean, resolveTargetBeanFromMethodWithBeanAnnotation, resolveTargetBeanName, setOutputChannelIfPresent, shouldCreateEndpoint
public InboundChannelAdapterAnnotationPostProcessor(ConfigurableListableBeanFactory beanFactory)
protected String getInputChannelAttribute()
getInputChannelAttribute
in class AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
public Object postProcess(Object bean, String beanName, Method method, List<Annotation> annotations)
postProcess
in interface MethodAnnotationPostProcessor<InboundChannelAdapter>
postProcess
in class AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
protected String generateHandlerBeanName(String originalBeanName, Method method)
generateHandlerBeanName
in class AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
protected MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations)
AbstractMethodAnnotationPostProcessor
createHandler
in class AbstractMethodAnnotationPostProcessor<InboundChannelAdapter>
bean
- The bean.method
- The method.annotations
- The messaging annotation (or meta-annotation hierarchy) on the method.