Standard implementation of the Server interface, available for use
(but not required) when deploying and starting Catalina.
author: Craig R. McClanahan version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $
Wait until a proper shutdown command is received, then return.
This keeps the main thread alive - the thread pool listening for http
connections is daemon threads.
Prepare for the beginning of active use of the public methods of this
component. This method should be called before any of the public
methods of this component are utilized. It should also send a
LifecycleEvent of type START_EVENT to any registered listeners.
exception: LifecycleException - if this component detects a fatal errorthat prevents this component from being used
Gracefully terminate the active use of the public methods of this
component. This method should be the last one called on a given
instance of this component. It should also send a LifecycleEvent
of type STOP_EVENT to any registered listeners.
exception: LifecycleException - if this component detects a fatal errorthat needs to be reported