Interface ClassConstructorInterrogatorServiceFactory

    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static java.lang.reflect.Constructor<?> extractConstructor​(java.lang.Class<?> objectClass, SourceContext sourceContext)
      Extracts the Constructor.
    • Method Detail

      • extractConstructor

        static java.lang.reflect.Constructor<?> extractConstructor​(java.lang.Class<?> objectClass,
                                                                   SourceContext sourceContext)
                                                            throws java.lang.Exception
        Extracts the Constructor.
        Parameters:
        objectClass - Class of object to inject dependencies.
        sourceContext - SourceContext.
        Returns:
        Constructor.
        Throws:
        java.lang.Exception - If fails to extract the Constructor.