Interface LifecycleListener

All Known Implementing Classes:
CascadeRemovalLifecycleListener, CountDownLifecycleListener

public interface LifecycleListener
A listener for service lifecycle events. The associated controller will not leave its current state until all listeners finish running.
Author:
Richard Opalka
  • Method Details

    • handleEvent

      void handleEvent(ServiceController<?> controller, LifecycleEvent event)
      The service has entered new state
      Parameters:
      controller - the controller
      event - the lifecycle event