Class BridgeFromAnnotationPostProcessor

java.lang.Object
org.springframework.integration.config.AbstractMethodAnnotationPostProcessor<BridgeFrom>
org.springframework.integration.config.BridgeFromAnnotationPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, MethodAnnotationPostProcessor<BridgeFrom>

public class BridgeFromAnnotationPostProcessor extends AbstractMethodAnnotationPostProcessor<BridgeFrom>
Post-processor for the @BridgeFrom annotation.
Since:
4.0
  • Constructor Details

    • BridgeFromAnnotationPostProcessor

      public BridgeFromAnnotationPostProcessor()
  • Method Details

    • getInputChannelAttribute

      public String getInputChannelAttribute()
    • supportsPojoMethod

      public boolean supportsPojoMethod()
    • shouldCreateEndpoint

      public boolean shouldCreateEndpoint(org.springframework.core.annotation.MergedAnnotations mergedAnnotations, List<Annotation> annotations)
    • resolveHandlerBeanDefinition

      protected org.springframework.beans.factory.config.BeanDefinition resolveHandlerBeanDefinition(String beanName, org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition, org.springframework.core.ResolvableType handlerBeanType, List<Annotation> annotationChain)
      Overrides:
      resolveHandlerBeanDefinition in class AbstractMethodAnnotationPostProcessor<BridgeFrom>
    • createHandler

      protected org.springframework.messaging.MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations)
      Description copied from class: AbstractMethodAnnotationPostProcessor
      Subclasses must implement this method to create the MessageHandler.
      Specified by:
      createHandler in class AbstractMethodAnnotationPostProcessor<BridgeFrom>
      Parameters:
      bean - The bean.
      method - The method.
      annotations - The messaging annotation (or meta-annotation hierarchy) on the method.
      Returns:
      The MessageHandler.