Interface Service

    • Method Detail

      • start

        void start​(ServiceProvider<Service> serviceProvider)
        Start this service using the provided configuration and ServiceProvider.

        The service provider allows a service to retrieve and use other services.

        A Service retrieved at this stage may not yet be started. The recommended usage pattern therefore, is to keep a reference to the dependent Service but use it only when specific methods are invoked on subtypes.

        Parameters:
        serviceProvider - the service provider
      • stop

        void stop()
        Stops this service.