Interface SystemReadyMonitor

  • All Superinterfaces:
    SystemReadyMonitorMXBean
    All Known Implementing Classes:
    KarafSystemReady, SimpleSystemReadyMonitor, TestSystemReadyMonitor

    public interface SystemReadyMonitor
    extends SystemReadyMonitorMXBean
    Service which provides technical system ready-ness status.

    This API is intentionally not specific to OSGi and Karaf, but using more general terminology.

    In an OSGi context, "fully ready" means that the asynchronous installation of (boot) features has successfully completed installation of all of their bundles, that all of these bundles have successfully started, and all of their blueprint containers have been successfully initialized.

    Implementations of this interface are expected to be thread-safe.

    Author:
    Michael Vorburger.ch
    • Method Detail

      • registerListener

        void registerListener​(SystemReadyListener listener)
        Allows components to register a listener which will be notified when the system ready state is changing.