public class TomcatEngine extends Object implements Engine
Engine implementation that wraps a Context.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.catalina.Engine |
engine |
protected TomcatFactoryRegistry |
registry |
protected Server |
server |
| Constructor and Description |
|---|
TomcatEngine(TomcatFactoryRegistry registry,
org.apache.catalina.Engine engine,
Server server)
Constructs a new CatalinaEngine that wraps the specified catalina engine
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Host |
findHost(String name)
Returns the host identified by the specified host name.
|
Iterable<Connector> |
getConnectors()
The connector to which this engine uses to communicate with its proxies.
|
String |
getDefaultHost()
Returns the default host of this engine.
|
Iterable<Host> |
getHosts()
The hosts associated with this engine.
|
String |
getJvmRoute()
The jvm route of this servlet engine.
|
String |
getName()
The name of this engine.
|
Connector |
getProxyConnector()
The connector to which this engine uses to communicate with its proxies.
|
Server |
getServer()
The server to which this engine is associated.
|
String |
getSessionCookieName()
Returns the cookie name used for sessions.
|
String |
getSessionParameterName()
Returns the url parameter name used for sessions.
|
int |
hashCode() |
void |
setJvmRoute(String jvmRoute)
Set this jvm route for this servlet engine.
|
String |
toString() |
protected final TomcatFactoryRegistry registry
protected final org.apache.catalina.Engine engine
protected final Server server
public TomcatEngine(TomcatFactoryRegistry registry, org.apache.catalina.Engine engine, Server server)
engine - a catalina enginepublic Server getServer()
Enginepublic Iterable<Host> getHosts()
Enginepublic String getDefaultHost()
EnginegetDefaultHost in interface Enginepublic String getJvmRoute()
EnginegetJvmRoute in interface Enginepublic void setJvmRoute(String jvmRoute)
EnginesetJvmRoute in interface EnginejvmRoute - a unique jvm route.public Iterable<Connector> getConnectors()
EnginegetConnectors in interface Enginepublic Connector getProxyConnector()
EnginegetProxyConnector in interface Enginepublic Host findHost(String name)
Enginepublic String getSessionCookieName()
EnginegetSessionCookieName in interface Enginepublic String getSessionParameterName()
EnginegetSessionParameterName in interface EngineCopyright © 2023 JBoss by Red Hat. All rights reserved.