Forces the server to shut down.
void ServerContext.shutdown()
Any registered ShutdownListener object have their shutdownPerformed method called.
The following code forces the server to shut down:
ServerContext serverContext; serverContext.shutdown();