Interface ServiceContainer.TerminateListener

Enclosing interface:
ServiceContainer

public static interface ServiceContainer.TerminateListener
A listener for notification of container shutdown.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Container shutdown information.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notifies this listener that the container is shutdown.
    At the moment this listener is requested to handle termination, all services in the container are stopped and removed.
  • Method Details

    • handleTermination

      void handleTermination(ServiceContainer.TerminateListener.Info info)
      Notifies this listener that the container is shutdown.
      At the moment this listener is requested to handle termination, all services in the container are stopped and removed.
      Parameters:
      info - information regarding the container shutdown process