Class TomcatHost
- java.lang.Object
-
- org.jboss.modcluster.container.tomcat.TomcatHost
-
-
Field Summary
Fields Modifier and Type Field Description protected Engineengineprotected org.apache.catalina.Hosthostprotected TomcatRegistryregistry
-
Constructor Summary
Constructors Constructor Description TomcatHost(TomcatRegistry registry, org.apache.catalina.Host host)Constructs a new CatalinaHost wrapping the specified catalina host.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)ContextfindContext(String path)Set<String>getAliases()Iterable<Context>getContexts()EnginegetEngine()StringgetName()inthashCode()StringtoString()
-
-
-
Field Detail
-
registry
protected final TomcatRegistry registry
-
host
protected final org.apache.catalina.Host host
-
engine
protected final Engine engine
-
-
Constructor Detail
-
TomcatHost
public TomcatHost(TomcatRegistry registry, org.apache.catalina.Host host)
Constructs a new CatalinaHost wrapping the specified catalina host.- Parameters:
host- a catalina host
-
-
Method Detail
-
getAliases
public Set<String> getAliases()
- Specified by:
getAliasesin interfaceHost
-
getContexts
public Iterable<Context> getContexts()
- Specified by:
getContextsin interfaceHost
-
findContext
public Context findContext(String path)
- Specified by:
findContextin interfaceHost
-
-