Class TomcatServer
java.lang.Object
org.jboss.modcluster.container.tomcat.TomcatServer
- All Implemented Interfaces:
Server
Server
implementation that wraps a Server
.- Author:
- Paul Ferraro
-
Field Summary
Modifier and TypeFieldDescriptionprotected final TomcatRegistry
protected final org.apache.catalina.Server
-
Constructor Summary
ConstructorDescriptionTomcatServer
(TomcatRegistry registry, org.apache.catalina.Server server) Constructs a newServer
wrapping the specified catalina server. -
Method Summary
-
Field Details
-
registry
-
server
protected final org.apache.catalina.Server server
-
-
Constructor Details
-
TomcatServer
Constructs a newServer
wrapping the specified catalina server.- Parameters:
server
- a catalina server
-
-
Method Details
-
getEngines
Description copied from interface:Server
Returns the servlet engines associated with this server.- Specified by:
getEngines
in interfaceServer
- Returns:
- the server's engines
-
equals
-
hashCode
public int hashCode() -
toString
-