Package org.jboss.modcluster.container
Interface Engine
- All Known Implementing Classes:
- TomcatEngine
public interface Engine
SPI for an engine, defined as collection of one or more hosts associated with a collection of 
Connectors. The only Connector
 of significance is the one used to communicate with a proxy.- Author:
- Paul Ferraro
- 
Method SummaryModifier and TypeMethodDescriptionReturns 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.voidsetJvmRoute(String jvmRoute) Set this jvm route for this servlet engine.
- 
Method Details- 
getNameString getName()The name of this engine.- Returns:
- the engine name
 
- 
getServerServer getServer()The server to which this engine is associated.- Returns:
- a server
 
- 
getHostsThe hosts associated with this engine.- Returns:
- the engine's hosts
 
- 
getProxyConnectorConnector getProxyConnector()The connector which this engine uses to communicate with its proxies.- Returns:
- the connector used by mod_cluster
 
- 
getConnectorsIteration of all connectors associated with this engine that can be used to communicate with its proxies.- Returns:
- iteration of all connectors associated with this engine
 
- 
getJvmRouteString getJvmRoute()The jvm route of this servlet engine. This uniquely identifies this node within the proxy.- Returns:
- the servlet engine's jvm route
 
- 
setJvmRouteSet this jvm route for this servlet engine. Used to create a reasonable default value, if no explicit route is defined.- Parameters:
- jvmRoute- a unique jvm route
 
- 
findHostReturns the host identified by the specified host name.- Parameters:
- name- the host name
- Returns:
- a servlet engine host
 
- 
getSessionCookieNameString getSessionCookieName()Returns the cookie name used for sessions.- Returns:
- a cookie name
 
- 
getSessionParameterNameString getSessionParameterName()Returns the url parameter name used for sessions.- Returns:
- a parameter name
 
- 
getDefaultHostString getDefaultHost()Returns the default host of this engine.- Returns:
- the default host
 
 
-