Server Life Cycle Events
A lifecycle module listens for and
performs its tasks in response to the following events in the server
the INIT_EVENT, the server reads the configuration,
initializes built-in subsystems (such as security and logging services),
and creates the containers.
the STARTUP_EVENT, the server loads and initializes
the READY_EVENT, the server is ready to service
the SHUTDOWN_EVENT, the server destroys loaded
applications and stops.
After the TERMINATION_EVENT, the server
closes the containers, the built-in subsystems, and the server runtime
These events are defined in the LifecycleEvent class.
The lifecycle modules that listen for these events implement
the LifecycleListener interface.