public class CatalinaEngine extends Object implements Engine
Engine
implementation that wraps a Context
.Modifier and Type | Field and Description |
---|---|
protected org.apache.catalina.Engine |
engine |
protected CatalinaFactoryRegistry |
registry |
protected Server |
server |
Constructor and Description |
---|
CatalinaEngine(CatalinaFactoryRegistry 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 CatalinaFactoryRegistry registry
protected final org.apache.catalina.Engine engine
protected final Server server
public CatalinaEngine(CatalinaFactoryRegistry registry, org.apache.catalina.Engine engine, Server server)
engine
- a catalina enginepublic Server getServer()
Engine
public Iterable<Host> getHosts()
Engine
public String getDefaultHost()
Engine
getDefaultHost
in interface Engine
public String getJvmRoute()
Engine
getJvmRoute
in interface Engine
public void setJvmRoute(String jvmRoute)
Engine
setJvmRoute
in interface Engine
jvmRoute
- a unique jvm route.public Iterable<Connector> getConnectors()
Engine
getConnectors
in interface Engine
public Connector getProxyConnector()
Engine
getProxyConnector
in interface Engine
public Host findHost(String name)
Engine
public String getSessionCookieName()
Engine
getSessionCookieName
in interface Engine
public String getSessionParameterName()
Engine
getSessionParameterName
in interface Engine
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.