Class TomcatServer
- java.lang.Object
-
- org.jboss.modcluster.container.tomcat.TomcatServer
-
-
Field Summary
Fields Modifier and Type Field Description protected TomcatRegistry
registry
protected org.apache.catalina.Server
server
-
Constructor Summary
Constructors Constructor Description TomcatServer(TomcatRegistry registry, org.apache.catalina.Server server)
Constructs a newServer
wrapping the specified catalina server.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Iterable<Engine>
getEngines()
Returns the servlet engines associated with this server.int
hashCode()
String
toString()
-
-
-
Field Detail
-
registry
protected final TomcatRegistry registry
-
server
protected final org.apache.catalina.Server server
-
-
Constructor Detail
-
TomcatServer
public TomcatServer(TomcatRegistry registry, org.apache.catalina.Server server)
Constructs a newServer
wrapping the specified catalina server.- Parameters:
server
- a catalina server
-
-
Method Detail
-
getEngines
public Iterable<Engine> getEngines()
Description copied from interface:Server
Returns the servlet engines associated with this server.- Specified by:
getEngines
in interfaceServer
- Returns:
- the server's engines
-
-