Interface BeanDefinitionProcessor<A extends Annotation>

Type Parameters:
A - The annotation type
All Superinterfaces:
AnnotationProcessor<A,BeanContext>
All Known Implementing Classes:
AnnotatedFilterRouteBuilder

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

The AnnotationProcessor.process(io.micronaut.inject.BeanDefinition, Object) method will receive each BeanDefinition and the BeanContext as arguments.

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

Since:
1.0.3
Author:
graemerocher