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 );