Package io.micronaut.context.processor
Interface BeanDefinitionProcessor<A extends java.lang.annotation.Annotation>
-
- Type Parameters:
A
- The annotation type
- All Superinterfaces:
AnnotationProcessor<A,BeanContext>
public interface BeanDefinitionProcessor<A extends java.lang.annotation.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 eachBeanDefinition
and theBeanContext
as arguments.If the processor needs to be executed as startup it should be define as a
Context
scoped bean.- Since:
- 1.0.3
-
-
Method Summary
-
Methods inherited from interface io.micronaut.context.processor.AnnotationProcessor
process
-
-