Class TomcatEngine
java.lang.Object
org.jboss.modcluster.container.tomcat.TomcatEngine
- All Implemented Interfaces:
- Engine
Engine implementation that wraps a Context.- Author:
- Paul Ferraro
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.apache.catalina.Engineprotected final TomcatRegistryprotected final Server
- 
Constructor SummaryConstructorsConstructorDescriptionTomcatEngine(TomcatRegistry registry, org.apache.catalina.Engine engine) Constructs a new CatalinaEngine that wraps the specified catalina engine
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the host identified by the specified host name.Iteration of all connectors associated with this engine that can be used to communicate with its proxies.Returns the default host of this engine.getHosts()The hosts associated with this engine.The jvm route of this servlet engine.getName()The name of this engine.The connector which this engine uses to communicate with its proxies.The server to which this engine is associated.Returns the cookie name used for sessions.Returns the url parameter name used for sessions.inthashCode()voidsetJvmRoute(String jvmRoute) Set this jvm route for this servlet engine.toString()
- 
Field Details- 
registry
- 
engineprotected final org.apache.catalina.Engine engine
- 
server
 
- 
- 
Constructor Details- 
TomcatEngineConstructs a new CatalinaEngine that wraps the specified catalina engine- Parameters:
- engine- a catalina engine
 
 
- 
- 
Method Details- 
getServerDescription copied from interface:EngineThe server to which this engine is associated.
- 
getHostsDescription copied from interface:EngineThe hosts associated with this engine.
- 
getDefaultHostDescription copied from interface:EngineReturns the default host of this engine.- Specified by:
- getDefaultHostin interface- Engine
- Returns:
- the default host
 
- 
getJvmRouteDescription copied from interface:EngineThe jvm route of this servlet engine. This uniquely identifies this node within the proxy.- Specified by:
- getJvmRoutein interface- Engine
- Returns:
- the servlet engine's jvm route
 
- 
setJvmRouteDescription copied from interface:EngineSet this jvm route for this servlet engine. Used to create a reasonable default value, if no explicit route is defined.- Specified by:
- setJvmRoutein interface- Engine
- Parameters:
- jvmRoute- a unique jvm route
 
- 
getNameDescription copied from interface:EngineThe name of this engine.
- 
getConnectorsDescription copied from interface:EngineIteration of all connectors associated with this engine that can be used to communicate with its proxies.- Specified by:
- getConnectorsin interface- Engine
- Returns:
- iteration of all connectors associated with this engine
 
- 
getProxyConnectorDescription copied from interface:EngineThe connector which this engine uses to communicate with its proxies.- Specified by:
- getProxyConnectorin interface- Engine
- Returns:
- the connector used by mod_cluster
 
- 
findHostDescription copied from interface:EngineReturns the host identified by the specified host name.
- 
getSessionCookieNameDescription copied from interface:EngineReturns the cookie name used for sessions.- Specified by:
- getSessionCookieNamein interface- Engine
- Returns:
- a cookie name
 
- 
getSessionParameterNameDescription copied from interface:EngineReturns the url parameter name used for sessions.- Specified by:
- getSessionParameterNamein interface- Engine
- Returns:
- a parameter name
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-