public void removeShutdownListener( ShutdownListener sl )
从将在服务器上下文被取消前接收通知的监听器列表中删除指定的 ShutdownListener。
sl 服务器关闭时不再通知的 ShutdownListener。
在服务器上下文被取消前,以下代码将 ShutdownListener 从接收通知的 监听器列表中删除。
// ServerContext serverContext; // ShutdownListener myShutdownListener serverContext.removeShutdownListener(myShutdownListener); |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |