Package org.jboss.modcluster.container
Interface Host
-
- All Known Implementing Classes:
TomcatHost
public interface HostSPI 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 ContextfindContext(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.EnginegetEngine()The engine to which this host is associated.StringgetName()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
-
-