Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
サーバコンテキストが破壊される前に通知を受信する指定の ShutdownListener オブジェクトを追加します。
void ServerContext.addShutdownListener(ShutdownListener sl)
sl シャットダウン時に通知される ShutdownListener オブジェクト。
シャットダウン時に、ShutdownListener.shutdownPerformed(ServerContext) メソッドが呼び出されます。