Interface MethodAnnotationPostProcessor<T extends java.lang.annotation.Annotation>

Type Parameters:
T - the target annotation type.
All Known Implementing Classes:
AbstractMethodAnnotationPostProcessor, AggregatorAnnotationPostProcessor, BridgeFromAnnotationPostProcessor, BridgeToAnnotationPostProcessor, FilterAnnotationPostProcessor, InboundChannelAdapterAnnotationPostProcessor, RouterAnnotationPostProcessor, ServiceActivatorAnnotationPostProcessor, SplitterAnnotationPostProcessor, TransformerAnnotationPostProcessor

public interface MethodAnnotationPostProcessor<T extends java.lang.annotation.Annotation>
Strategy interface for post-processing annotated methods.
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object postProcess​(java.lang.Object bean, java.lang.String beanName, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)  
    boolean shouldCreateEndpoint​(java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)
    Determine if the provided method and its annotations are eligible to create an AbstractEndpoint.
  • Method Details

    • postProcess

      java.lang.Object postProcess​(java.lang.Object bean, java.lang.String beanName, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)
    • shouldCreateEndpoint

      boolean shouldCreateEndpoint​(java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)
      Determine if the provided method and its annotations are eligible to create an AbstractEndpoint.
      Parameters:
      method - the method to check if it is eligible to create an Endpoint
      annotations - the List of annotations to process
      Returns:
      the boolean flag to determine whether to create an AbstractEndpoint
      Since:
      4.0