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

SQL Anywhere 11.0.1 (Français) » MobiLink - Server Administration » MobiLink Server APIs » Writing synchronization scripts in Java » MobiLink server API for Java reference » ServerContext interface

 

addShutdownListener method

Syntax
public void addShutdownListener( ShutdownListener sl )
Remarks

Adds the specified ShutdownListener that is to receive notification before the server context is destroyed. On shutdown, the method ShutdownListener.shutdownPerformed (ianywhere.ml.script.ServerContext) is called.

Parameters
  • sl   The ShutdownListener to notify on shutdown.

Example

See: ShutdownListener interface.