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

SQL Anywhere 11.0.0 » MobiLink - Server Administration » MobiLink Server APIs » Writing synchronization scripts in Java » MobiLink server API for Java Reference » ServerContext interface

 

removeShutdownListener method

Syntax
public void removeShutdownListener( ShutdownListener sl )
Remarks

Removes the specified ShutdownListener from the list of listeners that are to receive notification before the server context is destroyed.

Parameters
  • sl   The ShutdownListener to no longer notify on shutdown.

Example

The following code removes a ShutdownListener from the list of listeners that are to receive notification before the server context is destroyed.

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