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.