Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
public void addShutdownListener( ShutdownListener sl )
添加将在服务器上下文被取消前接收通知的指定 ShutdownListener。服务器关闭时,将调用 ShutdownListener.shutdownPerformed (ianywhere.ml.script.ServerContext) 方法。
sl 服务器关闭时要收到通知的 ShutdownListener。
请参见: ShutdownListener 接口。