Package org.jboss.modcluster.container
Interface Host
-
- All Known Implementing Classes:
TomcatHost
public interface Host
SPI for a host, defined as a set of web application contexts.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Context
findContext(String path)
Returns the context identified by the specified context path.Set<String>
getAliases()
Returns the aliases of this host, including the actual host name.Iterable<Context>
getContexts()
Returns all contexts associated with this host.Engine
getEngine()
The engine to which this host is associated.String
getName()
The name of this host.
-
-
-
Method Detail
-
getName
String getName()
The name of this host.- Returns:
- the host name
-
getEngine
Engine getEngine()
The engine to which this host is associated.- Returns:
- the servlet engine
-
getContexts
Iterable<Context> getContexts()
Returns all contexts associated with this host.- Returns:
- this host's contexts
-
getAliases
Set<String> getAliases()
Returns the aliases of this host, including the actual host name.- Returns:
- a set of aliases
-
-