|
Service (Catalina Internal API Documentation)
org.apache.catalina
|
Method Summary | |
void |
addConnector(Connector connector)
Add a new Connector to the set of defined Connectors, and associate it with this Service's Container. |
Connector[] |
findConnectors()
Find and return the set of Connectors associated with this Service. |
Container |
getContainer()
Return the Container that handles requests for all
Connectors associated with this Service. |
java.lang.String |
getInfo()
Return descriptive information about this Service implementation and the corresponding version number, in the format <description>/<version> . |
java.lang.String |
getName()
Return the name of this Service. |
void |
initialize()
Invoke a pre-startup initialization. |
void |
removeConnector(Connector connector)
Remove the specified Connector from the set associated from this Service. |
void |
setContainer(Container container)
Set the Container that handles requests for all
Connectors associated with this Service. |
void |
setName(java.lang.String name)
Set the name of this Service. |
Method Detail |
public Container getContainer()
Container
that handles requests for all
Connectors
associated with this Service.
public void setContainer(Container container)
Container
that handles requests for all
Connectors
associated with this Service.
container
- The new Containerpublic java.lang.String getInfo()
<description>/<version>
.
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The new service namepublic void addConnector(Connector connector)
connector
- The Connector to be addedpublic Connector[] findConnectors()
public void removeConnector(Connector connector)
connector
- The Connector to be removedpublic void initialize() throws LifecycleException
LifecycleException
- If this server was already initialized.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |