Interface ServiceProvider

    • Method Detail

      • getService

        <T> T getService​(java.lang.Class<T> serviceClass)
        Returns the Service object that implements the given service interface.
        serviceClass - the interface class.
      • addServiceListener

        void addServiceListener​(ServiceListener listener)
        Adds a listener that will be called as services are added and removed from this ServiceProvider.
        listener - The listener to add.
      • removeServiceListener

        void removeServiceListener​(ServiceListener listener)
        Removes the given listener from this ServiceProvider. This method does nothing if the given listener is not contained by this ServiceProvider.
        listener -