Interface BeanDefinitionProcessor<A extends Annotation>

All Known Implementing Classes:
AnnotatedFilterRouteBuilder, AnnotatedFunctionRouteBuilder, AnnotatedMethodRouteBuilder, BaseFilterProcessor, DefaultHttpClientFilterResolver, DefaultLocalFunctionRegistry, DeleteEndpointRouteBuilder, EndpointSensitivityProcessor, ReadEndpointRouteBuilder, ServerFilterRouteBuilder, ServerWebSocketProcessor, WriteEndpointRouteBuilder

public interface BeanDefinitionProcessor<A extends Annotation>
A bean definition processor is a processor called once for each bean annotated with the given annotation type.

The process(BeanDefinition, BeanContext) method will receive each BeanDefinition

If the processor needs to be executed as startup, it should be defined as a Context scoped bean.

Since:
1.0.3
Author:
graemerocher
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(BeanDefinition<?> beanDefinition, BeanContext beanContext)
    The process method will be called for every bean annotated with the given annotation type.
  • Method Details

    • process

      void process(BeanDefinition<?> beanDefinition, BeanContext beanContext)
      The process method will be called for every bean annotated with the given annotation type.
      Parameters:
      beanDefinition - The bean definition
      beanContext - The bean context