Interface AnnotationProcessor<A extends Annotation,T>

Type Parameters:
A - An annotation type
T - A type
All Known Subinterfaces:
BeanDefinitionProcessor<A>, ExecutableMethodProcessor<A>
All Known Implementing Classes:
AnnotatedFilterRouteBuilder, AnnotatedFunctionRouteBuilder, AnnotatedMethodRouteBuilder, BaseFilterProcessor, DefaultHttpClientFilterResolver, DefaultLocalFunctionRegistry, DeleteEndpointRouteBuilder, EndpointSensitivityProcessor, ReadEndpointRouteBuilder, ScheduledMethodProcessor, ServerFilterRouteBuilder, ServerWebSocketProcessor, WriteEndpointRouteBuilder

public interface AnnotationProcessor<A extends Annotation,T>

An annotation processor is an object that processes the presence if a given annotation.

The process(BeanDefinition, Object) method returns void since a processor is not able to mutate the object itself or return an alternative instance, instead the design of a processor is to react to the rep

Since:
1.0
Author:
Graeme Rocher
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(BeanDefinition<?> beanDefinition, T object)
    The process method will be called for every ExecutableMethod that is annotated with the type parameter A.
  • Method Details

    • process

      void process(BeanDefinition<?> beanDefinition, T object)
      The process method will be called for every ExecutableMethod that is annotated with the type parameter A.
      Parameters:
      beanDefinition - The bean definition
      object - The object to be processed