Class BridgeFromAnnotationPostProcessor
java.lang.Object
org.springframework.integration.config.AbstractMethodAnnotationPostProcessor<BridgeFrom>
org.springframework.integration.config.BridgeFromAnnotationPostProcessor
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- MethodAnnotationPostProcessor<BridgeFrom>
public class BridgeFromAnnotationPostProcessor
extends AbstractMethodAnnotationPostProcessor<BridgeFrom>
Post-processor for the 
@BridgeFrom annotation.- Since:
- 4.0
- Author:
- Artem Bilan
- 
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 MessageHandlercreateHandler(Object bean, Method method, List<Annotation> annotations) Subclasses must implement this method to create the MessageHandler.protected BeanDefinitionresolveHandlerBeanDefinition(String beanName, AnnotatedBeanDefinition beanDefinition, ResolvableType handlerBeanType, List<Annotation> annotationChain) booleanshouldCreateEndpoint(MergedAnnotations mergedAnnotations, List<Annotation> annotations) booleanMethods inherited from class org.springframework.integration.config.AbstractMethodAnnotationPostProcessorbuildLambdaMessageProcessor, checkMessageHandlerAttributes, configurePollingEndpoint, createEndpoint, createEndpointBeanDefinition, doCreateEndpoint, extractAdviceChain, generateHandlerBeanName, generateHandlerBeanName, generateHandlerBeanName, getBeanFactory, getChannelResolver, getConversionService, getDefinitionRegistry, postProcess, 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
- 
Constructor Details- 
BridgeFromAnnotationPostProcessorpublic BridgeFromAnnotationPostProcessor()
 
- 
- 
Method Details- 
getInputChannelAttribute
- 
supportsPojoMethodpublic boolean supportsPojoMethod()
- 
shouldCreateEndpointpublic boolean shouldCreateEndpoint(MergedAnnotations mergedAnnotations, List<Annotation> annotations) 
- 
resolveHandlerBeanDefinitionprotected BeanDefinition resolveHandlerBeanDefinition(String beanName, AnnotatedBeanDefinition beanDefinition, ResolvableType handlerBeanType, List<Annotation> annotationChain) - Overrides:
- resolveHandlerBeanDefinitionin class- AbstractMethodAnnotationPostProcessor<BridgeFrom>
 
- 
createHandlerDescription copied from class:AbstractMethodAnnotationPostProcessorSubclasses must implement this method to create the MessageHandler.- Specified by:
- createHandlerin class- AbstractMethodAnnotationPostProcessor<BridgeFrom>
- Parameters:
- bean- The bean.
- method- The method.
- annotations- The messaging annotation (or meta-annotation hierarchy) on the method.
- Returns:
- The MessageHandler.
 
 
-