winstone
Class HostGroup
java.lang.Object
winstone.HostGroup
public class HostGroup
- extends java.lang.Object
Manages the references to individual hosts within the container. This object handles
the mapping of ip addresses and hostnames to groups of webapps, and init and
shutdown of any hosts it manages.
- Version:
- $Id: HostGroup.java,v 1.4 2006/03/24 17:24:21 rickknowles Exp $
- Author:
- Rick Knowles
Constructor Summary |
HostGroup(Cluster cluster,
ObjectPool objectPool,
java.lang.ClassLoader commonLibCL,
java.io.File[] commonLibCLPaths,
java.util.Map args)
|
Method Summary |
void |
destroy()
|
HostConfiguration |
getHostByName(java.lang.String hostname)
|
protected void |
initHost(java.io.File webappsDir,
java.lang.String hostname,
Cluster cluster,
ObjectPool objectPool,
java.lang.ClassLoader commonLibCL,
java.io.File[] commonLibCLPaths,
java.util.Map args)
|
protected void |
initMultiHostDir(java.io.File hostsDir,
Cluster cluster,
ObjectPool objectPool,
java.lang.ClassLoader commonLibCL,
java.io.File[] commonLibCLPaths,
java.util.Map args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostGroup
public HostGroup(Cluster cluster,
ObjectPool objectPool,
java.lang.ClassLoader commonLibCL,
java.io.File[] commonLibCLPaths,
java.util.Map args)
throws java.io.IOException
- Throws:
java.io.IOException
getHostByName
public HostConfiguration getHostByName(java.lang.String hostname)
destroy
public void destroy()
initHost
protected void initHost(java.io.File webappsDir,
java.lang.String hostname,
Cluster cluster,
ObjectPool objectPool,
java.lang.ClassLoader commonLibCL,
java.io.File[] commonLibCLPaths,
java.util.Map args)
throws java.io.IOException
- Throws:
java.io.IOException
initMultiHostDir
protected void initMultiHostDir(java.io.File hostsDir,
Cluster cluster,
ObjectPool objectPool,
java.lang.ClassLoader commonLibCL,
java.io.File[] commonLibCLPaths,
java.util.Map args)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2013. All Rights Reserved.