A Service is a group of one or more
Connectors that share a single Container
to process their incoming requests. This arrangement allows, for example,
a non-SSL and SSL connector to share the same population of web apps.
A given JVM can contain any number of Service instances; however, they are
completely independent of each other and share only the basic JVM facilities
and classes on the system class path.
author: Craig R. McClanahan version: $Revision: 520968 $ $Date: 2007-03-21 19:00:39 +0100 (mer., 21 mars 2007) $
Method Summary
public void
addConnector(Connector connector) Add a new Connector to the set of defined Connectors, and associate it
with this Service's Container.
getInfo() Return descriptive information about this Service implementation and
the corresponding version number, in the format
<description>/<version>.
Add a new Connector to the set of defined Connectors, and associate it
with this Service's Container.
Parameters: connector - The Connector to be added
Invoke a pre-startup initialization. This is used to allow connectors
to bind to restricted ports under Unix operating environments.
exception: LifecycleException - If this server was already initialized.
Remove the specified Connector from the set associated from this
Service. The removed Connector will also be disassociated from our
Container.
Parameters: connector - The Connector to be removed