Class TomcatServer
- java.lang.Object
-
- org.jboss.modcluster.container.tomcat.TomcatServer
-
-
Field Summary
Fields Modifier and Type Field Description protected TomcatRegistryregistryprotected org.apache.catalina.Serverserver
-
Constructor Summary
Constructors Constructor Description TomcatServer(TomcatRegistry registry, org.apache.catalina.Server server)Constructs a newServerwrapping the specified catalina server.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Iterable<Engine>getEngines()Returns the servlet engines associated with this server.inthashCode()StringtoString()
-
-
-
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 newServerwrapping the specified catalina server.- Parameters:
server- a catalina server
-
-
Method Detail
-
getEngines
public Iterable<Engine> getEngines()
Description copied from interface:ServerReturns the servlet engines associated with this server.- Specified by:
getEnginesin interfaceServer- Returns:
- the server's engines
-
-