public void addShutdownListener( ShutdownListener sl )
添加将在服务器上下文被取消前接收通知的指定 ShutdownListener。服务器关闭时,将调用 ShutdownListener.shutdownPerformed (ianywhere.ml.script.ServerContext) 方法。
sl 服务器关闭时要收到通知的 ShutdownListener。
请参见: ShutdownListener 接口.
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |