Interface ClassConstructorInterrogatorContext


public interface ClassConstructorInterrogatorContext
Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtains the Class of object to be constructed for dependency injection.
    void
    setErrorInformation(String errorInformation)
    Provides optional error information about why a Constructor was not found.
  • Method Details

    • getObjectClass

      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(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.