org.apache.catalina.core
クラス StandardEngine

java.lang.Object
  |
  +--org.apache.catalina.core.ContainerBase
        |
        +--org.apache.catalina.core.StandardEngine
すべての実装インタフェース:
Container, Engine, Lifecycle, Pipeline
直系の既知のサブクラス:
WarpEngine

public class StandardEngine
extends ContainerBase
implements Engine

Standard implementation of the Engine interface. Each child container must be a Host implementation to process the specific fully qualified host name of that virtual host.

バージョン:
$Revision: 1.10.2.1 $ $Date: 2002/01/17 12:11:47 $
作成者:
Craig R. McClanahan

クラス org.apache.catalina.core.ContainerBase から継承したフィールド
children, cluster, debug, lifecycle, listeners, loader, logger, manager, mapper, mapperClass, mappers, name, parent, parentClassLoader, pipeline, realm, resources, sm, started, support
 
インタフェース org.apache.catalina.Container から継承したフィールド
ADD_CHILD_EVENT, ADD_MAPPER_EVENT, ADD_VALVE_EVENT, REMOVE_CHILD_EVENT, REMOVE_MAPPER_EVENT, REMOVE_VALVE_EVENT
 
インタフェース org.apache.catalina.Lifecycle から継承したフィールド
START_EVENT, STOP_EVENT
 
コンストラクタの概要
StandardEngine()
          Create a new StandardEngine component with the default basic Valve.
 
メソッドの概要
 void addChild(Container child)
          Add a child Container, only if the proposed child is an implementation of Host.
 void addDefaultContext(DefaultContext defaultContext)
          Set the DefaultContext for new web applications.
protected  void addDefaultMapper(java.lang.String mapperClass)
          Add a default Mapper implementation if none have been configured explicitly.
 java.lang.String getDefaultHost()
          Return the default host.
 java.lang.String getInfo()
          Return descriptive information about this Container implementation and the corresponding version number, in the format <description>/<version>.
 java.lang.String getJvmRoute()
          Retrieve the cluster-wide unique identifier for this Engine.
 java.lang.String getMapperClass()
          Return the default Mapper class name.
 Service getService()
          Return the Service with which we are associated (if any).
 void importDefaultContext(Context context)
          Import the DefaultContext config into a web application context.
 void setDefaultHost(java.lang.String host)
          Set the default host.
 void setJvmRoute(java.lang.String jvmRouteId)
          Set the cluster-wide unique identifier for this Engine.
 void setMapperClass(java.lang.String mapperClass)
          Set the default Mapper class name.
 void setParent(Container container)
          Disallow any attempt to set a parent for this Container, since an Engine is supposed to be at the top of the Container hierarchy.
 void setService(Service service)
          Set the Service with which we are associated (if any).
 void start()
          Start this Engine component.
 java.lang.String toString()
          Return a String representation of this component.
 
クラス org.apache.catalina.core.ContainerBase から継承したメソッド
addContainerListener, addLifecycleListener, addMapper, addPropertyChangeListener, addValve, findChild, findChildren, findMapper, findMappers, fireContainerEvent, getBasic, getCluster, getDebug, getLoader, getLogger, getManager, getName, getParent, getParentClassLoader, getPipeline, getRealm, getResources, getValves, invoke, log, log, logName, map, removeChild, removeContainerListener, removeLifecycleListener, removeMapper, removePropertyChangeListener, removeValve, setBasic, setCluster, setDebug, setLoader, setLogger, setManager, setName, setParentClassLoader, setRealm, setResources, stop
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース org.apache.catalina.Container から継承したメソッド
addContainerListener, addMapper, addPropertyChangeListener, findChild, findChildren, findMapper, findMappers, getCluster, getLoader, getLogger, getManager, getName, getParent, getParentClassLoader, getRealm, getResources, invoke, map, removeChild, removeContainerListener, removeMapper, removePropertyChangeListener, setCluster, setLoader, setLogger, setManager, setName, setParentClassLoader, setRealm, setResources
 

コンストラクタの詳細

StandardEngine

public StandardEngine()
Create a new StandardEngine component with the default basic Valve.
メソッドの詳細

getDefaultHost

public java.lang.String getDefaultHost()
Return the default host.
定義:
インタフェース Engine 内の getDefaultHost

setDefaultHost

public void setDefaultHost(java.lang.String host)
Set the default host.
定義:
インタフェース Engine 内の setDefaultHost
パラメータ:
host - The new default host

addDefaultContext

public void addDefaultContext(DefaultContext defaultContext)
Set the DefaultContext for new web applications.
定義:
インタフェース Engine 内の addDefaultContext
パラメータ:
defaultContext - The new DefaultContext

setJvmRoute

public void setJvmRoute(java.lang.String jvmRouteId)
Set the cluster-wide unique identifier for this Engine. This value is only useful in a load-balancing scenario.

This property should not be changed once it is set.

定義:
インタフェース Engine 内の setJvmRoute
パラメータ:
jvmRouteId - New JVM route ID

getJvmRoute

public java.lang.String getJvmRoute()
Retrieve the cluster-wide unique identifier for this Engine. This value is only useful in a load-balancing scenario.
定義:
インタフェース Engine 内の getJvmRoute

getMapperClass

public java.lang.String getMapperClass()
Return the default Mapper class name.

setMapperClass

public void setMapperClass(java.lang.String mapperClass)
Set the default Mapper class name.
パラメータ:
mapperClass - The new default Mapper class name

getService

public Service getService()
Return the Service with which we are associated (if any).
定義:
インタフェース Engine 内の getService

setService

public void setService(Service service)
Set the Service with which we are associated (if any).
定義:
インタフェース Engine 内の setService
パラメータ:
service - The service that owns this Engine

importDefaultContext

public void importDefaultContext(Context context)
Import the DefaultContext config into a web application context.
定義:
インタフェース Engine 内の importDefaultContext
パラメータ:
context - web application context to import default context

addChild

public void addChild(Container child)
Add a child Container, only if the proposed child is an implementation of Host.
定義:
インタフェース Container 内の addChild
オーバーライド:
クラス ContainerBase 内の addChild
パラメータ:
child - Child container to be added

getInfo

public java.lang.String getInfo()
Return descriptive information about this Container implementation and the corresponding version number, in the format <description>/<version>.
定義:
インタフェース Container 内の getInfo
オーバーライド:
クラス ContainerBase 内の getInfo

setParent

public void setParent(Container container)
Disallow any attempt to set a parent for this Container, since an Engine is supposed to be at the top of the Container hierarchy.
定義:
インタフェース Container 内の setParent
オーバーライド:
クラス ContainerBase 内の setParent
パラメータ:
container - Proposed parent Container

start

public void start()
           throws LifecycleException
Start this Engine component.
オーバーライド:
クラス ContainerBase 内の start
例外:
LifecycleException - if a startup error occurs

toString

public java.lang.String toString()
Return a String representation of this component.
オーバーライド:
クラス java.lang.Object 内の toString

addDefaultMapper

protected void addDefaultMapper(java.lang.String mapperClass)
Add a default Mapper implementation if none have been configured explicitly.
オーバーライド:
クラス ContainerBase 内の addDefaultMapper
パラメータ:
mapperClass - The default mapper class name to add


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.