Interface MethodAnnotationPostProcessor<T extends 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 Annotation>
Strategy interface for post-processing annotated methods.
Author:
Mark Fisher, Gary Russell, Artem Bilan
  • Field Details

  • Method Details

    • postProcess

      Object postProcess(Object bean, String beanName, Method method, List<Annotation> annotations)
    • processBeanDefinition

      void processBeanDefinition(String beanName, AnnotatedBeanDefinition beanDefinition, List<Annotation> annotations)
    • shouldCreateEndpoint

      default boolean shouldCreateEndpoint(Method method, List<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
    • shouldCreateEndpoint

      default boolean shouldCreateEndpoint(MergedAnnotations mergedAnnotations, List<Annotation> annotations)
    • getInputChannelAttribute

      default String getInputChannelAttribute()
    • beanAnnotationAware

      default boolean beanAnnotationAware()
    • supportsPojoMethod

      default boolean supportsPojoMethod()