Interface ServerShutdownHook


public interface ServerShutdownHook
This is the interface for the ServerShutdownHook.

This handler may be specified in server.xml hooks section. The implementing class must implement this interface and have a no arg constructor.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when the Server is stopping.
  • Method Details

    • serverStopping

      void serverStopping()
      This method is called when the Server is stopping. It is wise to make sure that this method does not block