|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.catalina.core.StandardService
Standard implementation of the Service
interface. The
associated Container is generally an instance of Engine, but this is
not required.
インタフェース org.apache.catalina.Lifecycle から継承したフィールド |
START_EVENT, STOP_EVENT |
コンストラクタの概要 | |
StandardService()
|
メソッドの概要 | |
void |
addConnector(Connector connector)
Add a new Connector to the set of defined Connectors, and associate it with this Service's Container. |
void |
addLifecycleListener(LifecycleListener listener)
Add a LifecycleEvent listener to this component. |
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 |
removeLifecycleListener(LifecycleListener listener)
Remove a LifecycleEvent listener from this component. |
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. |
void |
start()
Prepare for the beginning of active use of the public methods of this component. |
void |
stop()
Gracefully terminate the active use of the public methods of this component. |
java.lang.String |
toString()
Return a String representation of this component. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public StandardService()
メソッドの詳細 |
public Container getContainer()
Container
that handles requests for all
Connectors
associated with this Service.Service
内の getContainer
public void setContainer(Container container)
Container
that handles requests for all
Connectors
associated with this Service.Service
内の setContainer
container
- The new Containerpublic java.lang.String getInfo()
<description>/<version>
.Service
内の getInfo
public java.lang.String getName()
Service
内の getName
public void setName(java.lang.String name)
Service
内の setName
name
- The new service namepublic void addConnector(Connector connector)
Service
内の addConnector
connector
- The Connector to be addedpublic Connector[] findConnectors()
Service
内の findConnectors
public void removeConnector(Connector connector)
Service
内の removeConnector
connector
- The Connector to be removedpublic java.lang.String toString()
java.lang.Object
内の toString
public void addLifecycleListener(LifecycleListener listener)
Lifecycle
内の addLifecycleListener
listener
- The listener to addpublic void removeLifecycleListener(LifecycleListener listener)
Lifecycle
内の removeLifecycleListener
listener
- The listener to removepublic void start() throws LifecycleException
Lifecycle
内の start
java.lang.IllegalStateException
- if this component has already been
startedLifecycleException
- if this component detects a fatal error
that prevents this component from being usedpublic void stop() throws LifecycleException
Lifecycle
内の stop
java.lang.IllegalStateException
- if this component has not been startedLifecycleException
- if this component detects a fatal error
that needs to be reportedpublic void initialize() throws LifecycleException
Service
内の initialize
org.apache.catalina.Service
からコピーされたタグ:LifecycleException
- If this server was already initialized.
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |