Class DefaultServiceLocator.ErrorHandler

    • Method Detail

      • serviceCreationFailed

        public void serviceCreationFailed​(Class<?> type,
                                          Class<?> impl,
                                          Throwable exception)
        Handles errors during creation of a service. The default implemention does nothing.
        Parameters:
        type - The interface describing the service, must not be null.
        impl - The implementation class of the service, must not be null.
        exception - The error that occurred while trying to instantiate the implementation class, must not be null.