Interface ClassInjectionInterrogatorContext

    • Method Detail

      • getAnnotatedElement

        java.lang.reflect.AnnotatedElement getAnnotatedElement()

        Obtains the AnnotatedElement.

        Typically this is either a Field or Method.

        Returns:
        AnnotatedElement.
      • getObjectClass

        java.lang.Class<?> getObjectClass()
        Obtains the Class of object for dependency injection.
        Returns:
        Class of object for dependency injection.
      • registerInjectionPoint

        void registerInjectionPoint​(java.lang.reflect.AnnotatedElement member)
                             throws java.lang.IllegalArgumentException

        Registers a injection point.

        Should always be valid if passing in the return of getAnnotatedElement().

        Parameters:
        member - Field or Method for injection.
        Throws:
        java.lang.IllegalArgumentException - If invalid injection point type.
      • registerPostConstruct

        void registerPostConstruct​(java.lang.reflect.Method method)
        Registers a post construct Method.
        Parameters:
        method - Method to be invoked after all dependencies are injected.