Interface ServiceListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void serviceAdded​(java.lang.Class<?> interfaceClass, java.lang.Object service)
      Notifies the listener that a service has been added to the tool.
      void serviceRemoved​(java.lang.Class<?> interfaceClass, java.lang.Object service)
      Notifies the listener that a service has been removed from the tool.
    • Method Detail

      • serviceAdded

        void serviceAdded​(java.lang.Class<?> interfaceClass,
                          java.lang.Object service)
        Notifies the listener that a service has been added to the tool.
        Parameters:
        interfaceClass - the interface class that the given service implements.
        service - the implementation of the service.
      • serviceRemoved

        void serviceRemoved​(java.lang.Class<?> interfaceClass,
                            java.lang.Object service)
        Notifies the listener that a service has been removed from the tool.
        Parameters:
        interfaceClass - the interface class that the given service implements.
        service - the implementation of the service.