Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
public void shutdown( )
强制服务器关闭。任何已注册的 ShutdownListener 实例的 shutdownPerformed 方法都将被调用。
以下代码强制服务器关闭。
// ServerContext serverContext; serverContext.shutdown();