Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » Mobile Link - サーバ管理 » Mobile Link サーバ API » Java による同期スクリプトの作成 » Java 用 Mobile Link サーバ API リファレンス » ServerContext インタフェース

 

removeShutdownListener メソッド

構文
public void removeShutdownListener( ShutdownListener sl )
備考

サーバ・コンテキストが破壊される前に通知を受信するリスナのリストから、指定の ShutdownListener を削除します。

パラメータ
  • sl   シャットダウン時に通知を受信しないようにする ShutdownListener

次のコードは、サーバ・コンテキストが破壊される前に通知を受信するリスナのリストから、ShutdownListener を削除します。

// ServerContext serverContext;
// ShutdownListener myShutdownListener
serverContext.removeShutdownListener(myShutdownListener);