Interface ClassConstructorInterrogatorContext

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getObjectClass()
      Obtains the Class of object to be constructed for dependency injection.
      void setErrorInformation​(java.lang.String errorInformation)
      Provides optional error information about why a Constructor was not found.
    • Method Detail

      • getObjectClass

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

        void setErrorInformation​(java.lang.String errorInformation)

        Provides optional error information about why a Constructor was not found.

        This provides improved feedback to help resolve issue of why a Constructor was not selected in interrogation.

        Parameters:
        errorInformation - Error information.