Package io.micronaut.context.visitor
Interface BeanImportHandler
-
public interface BeanImportHandlerInterface that allows extension of Bean import handling in other to support other injection systems beyond JSR-330 in downstream modules.- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidbeanAdded(BeanElementBuilder beanElementBuilder, VisitorContext context)Callback method invoked when a bean is added.default java.util.Set<java.lang.String>getSupportedAnnotationNames()
-
-
-
Method Detail
-
getSupportedAnnotationNames
@NonNull default java.util.Set<java.lang.String> getSupportedAnnotationNames()
- Returns:
- The supported annotation names.
-
beanAdded
void beanAdded(BeanElementBuilder beanElementBuilder, VisitorContext context)
Callback method invoked when a bean is added.- Parameters:
beanElementBuilder- The bean element buildercontext- The visitor context
-
-