shutdown method

Syntax
public void shutdown( )
Remarks

Forces the server to shut down. Any registered ShutdownListener instances have their shutdownPerformed method called.

Example

The following code forces the server to shut down.

// ServerContext serverContext;
serverContext.shutdown();