Interface LightySystemReadyService

  • All Known Implementing Classes:
    LightySystemReadyMonitorImpl

    public interface LightySystemReadyService
    This service provides API to control state of SystemReadyMonitor service provided by LightyController. Methods of this service should be called by lighty application after LightyController has been started and after plugins are in ready state.
    • Method Detail

      • onSystemBootReady

        int onSystemBootReady()
        Called when lighty application star sequence is completed. This sets internal state of SystemReadyMonitor to SystemState.ACTIVE, all registered listeners will be notified by calling SystemReadyListener.onSystemBootReady() method.
        Returns:
        number of registered listeners notified about system ready state change.
      • onSystemBootFailed

        int onSystemBootFailed()
        Called when lighty application star sequence is fails. This sets internal state of SystemReadyMonitor to SystemState.FAILURE, no listeners are notified.
        Returns:
        number of registered listeners in SystemReadyMonitor.