mod_cluster-container-spi 1.2.6.Final

org.jboss.modcluster.container
Interface Host


public interface Host

SPI for a host, defined as a set of web application contexts.

Author:
Paul Ferraro

Method Summary
 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 the 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 the 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

findContext

Context findContext(String path)
Returns the context identified by the specified context path.

Parameters:
path - a context path
Returns:
a web application context

mod_cluster-container-spi 1.2.6.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.