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
Modifier and TypeMethodDescriptionfindContext
(String path) Returns the context identified by the specified context path.Returns the aliases of this host, including the actual host name.Returns all contexts associated with this host.The engine to which this host is associated.getName()
The name of this host.
-
Method Details
-
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
Returns all contexts associated with this host.- Returns:
- this host's contexts
-
getAliases
Returns the aliases of this host, including the actual host name.- Returns:
- a set of aliases
-
findContext
Returns the context identified by the specified context path.- Parameters:
path
- a context path- Returns:
- a web application context
-