Interface AfterTypeDiscovery


  • public interface AfterTypeDiscovery
    This event will get fired after the container has completed the class scanning process and all AnnotatedTypes got discovered from the classpath.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addAnnotatedType​(AnnotatedType<?> type, java.lang.String id)
      Allows to a synthetic annotated type.
      java.util.List<java.lang.Class<?>> getAlternatives()
      This method can be used to remove and add Alternatives, but also to change the sorting order Alternatives which are only enabled in a certain BeanArchive are not included in this list.
      java.util.List<java.lang.Class<?>> getDecorators()
      This method can be used to remove and add enabled Decorators, but also to change the sorting order.
      java.util.List<java.lang.Class<?>> getInterceptors()
      This method can be used to remove and add enabled CDI Interceptors, but also to change the sorting order.
    • Method Detail

      • getAlternatives

        java.util.List<java.lang.Class<?>> getAlternatives()
        This method can be used to remove and add Alternatives, but also to change the sorting order Alternatives which are only enabled in a certain BeanArchive are not included in this list.
        Returns:
        the ordered, mutable List of enabled Alternatives
      • getInterceptors

        java.util.List<java.lang.Class<?>> getInterceptors()
        This method can be used to remove and add enabled CDI Interceptors, but also to change the sorting order. Interceptors which are only enabled in a certain BeanArchive are not included in this list.
        Returns:
        the ordered, mutable List of Classes which are annotated with Interceptor and globally enabled.
      • getDecorators

        java.util.List<java.lang.Class<?>> getDecorators()
        This method can be used to remove and add enabled Decorators, but also to change the sorting order. Decorators which are only enabled in a certain BeanArchive are not included in this list.
        Returns:
        the ordered, mutable List of Classes which are annotated with Decorator and globally enabled.