Interface RegistryShutdownHub

    • Method Detail

      • addRegistryShutdownListener

        void addRegistryShutdownListener​(java.lang.Runnable listener)
        Adds a listener for eventual notification when the registry shuts down. Runtime exceptions thrown by the listener will be logged and ignored.
        Since:
        5.3
      • addRegistryWillShutdownListener

        void addRegistryWillShutdownListener​(java.lang.Runnable listener)
        Adds a listener for eventual notification. RegistryWillShutdownListeners are notified before any standard listeners, and before service proxies and other parts of the Registry are disabled. Runtime exceptions thrown by the listener will be logged and ignored.
        Since:
        5.3