Interface BeanImportHandler


  • public interface BeanImportHandler
    Interface 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 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 builder
        context - The visitor context