Class FilterAnnotationPostProcessor

java.lang.Object
org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor<Filter>
org.springframework.integration.config.annotation.FilterAnnotationPostProcessor
All Implemented Interfaces:
MethodAnnotationPostProcessor<Filter>

public class FilterAnnotationPostProcessor
extends AbstractMethodAnnotationPostProcessor<Filter>
Post-processor for Methods annotated with @Filter.
Since:
2.0
  • Constructor Details

    • FilterAnnotationPostProcessor

      public FilterAnnotationPostProcessor​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
  • Method Details

    • createHandler

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