|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.catalina.core.ContainerBase | +--org.apache.catalina.core.StandardEngine
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.
Fields inherited from class 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 |
Fields inherited from interface org.apache.catalina.Container |
ADD_CHILD_EVENT,
ADD_MAPPER_EVENT,
ADD_VALVE_EVENT,
REMOVE_CHILD_EVENT,
REMOVE_MAPPER_EVENT,
REMOVE_VALVE_EVENT |
Constructor Summary | |
StandardEngine()
Create a new StandardEngine component with the default basic Valve. |
Method Summary | |
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. |
Methods inherited from class 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 |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public StandardEngine()
Method Detail |
public java.lang.String getDefaultHost()
public void setDefaultHost(java.lang.String host)
host
- The new default hostpublic void addDefaultContext(DefaultContext defaultContext)
defaultContext
- The new DefaultContextpublic void setJvmRoute(java.lang.String jvmRouteId)
This property should not be changed once it is set.
jvmRouteId
- New JVM route IDpublic java.lang.String getJvmRoute()
public java.lang.String getMapperClass()
public void setMapperClass(java.lang.String mapperClass)
mapperClass
- The new default Mapper class namepublic Service getService()
Service
with which we are associated (if any).public void setService(Service service)
Service
with which we are associated (if any).service
- The service that owns this Enginepublic void importDefaultContext(Context context)
context
- web application context to import default contextpublic void addChild(Container child)
child
- Child container to be addedpublic java.lang.String getInfo()
<description>/<version>
.public void setParent(Container container)
container
- Proposed parent Containerpublic void start() throws LifecycleException
public java.lang.String toString()
protected void addDefaultMapper(java.lang.String mapperClass)
mapperClass
- The default mapper class name to add
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |