Interface ServiceManagerReadyAware


  • public interface ServiceManagerReadyAware
    Allow a service to be notified when the service manager has started up all known services (including activators). This is useful if a service wants to do lookups of all known services or providers of a certain type when the system startup is complete. It can also be used as a way to execute some code when the service manager startup is complete.
    Author:
    Aaron Zeckoski (azeckoski @ gmail.com)
    • Method Detail

      • serviceManagerReady

        void serviceManagerReady​(ServiceManager serviceManager)
        This is called when the startup of all core services and activators is complete.

        WARNING: This will never be called for providers which are registered with a service manager which is already running!

        Parameters:
        serviceManager - the completely started service manager