public class HostConfiguration
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
HostConfiguration(java.lang.String hostname,
Cluster cluster,
ObjectPool objectPool,
java.lang.ClassLoader commonLibCL,
java.io.File[] commonLibCLPaths,
java.util.Map args,
java.io.File webappsDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
java.lang.String |
getHostname() |
WebAppConfiguration |
getWebAppBySessionKey(java.lang.String sessionKey) |
WebAppConfiguration |
getWebAppByURI(java.lang.String uri) |
protected java.io.File |
getWebRoot(java.io.File requestedWebroot,
java.io.File warfile)
Setup the webroot.
|
protected void |
initMultiWebappDir(java.io.File webappsDir) |
protected WebAppConfiguration |
initWebApp(java.lang.String prefix,
java.io.File webRoot,
java.lang.String contextName) |
void |
invalidateExpiredSessions() |
void |
reloadWebApp(java.lang.String prefix) |
void |
run() |
public HostConfiguration(java.lang.String hostname,
Cluster cluster,
ObjectPool objectPool,
java.lang.ClassLoader commonLibCL,
java.io.File[] commonLibCLPaths,
java.util.Map args,
java.io.File webappsDir)
throws java.io.IOException
java.io.IOExceptionpublic WebAppConfiguration getWebAppByURI(java.lang.String uri)
protected WebAppConfiguration initWebApp(java.lang.String prefix, java.io.File webRoot, java.lang.String contextName) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getHostname()
public void destroy()
public void invalidateExpiredSessions()
public void run()
run in interface java.lang.Runnablepublic void reloadWebApp(java.lang.String prefix)
protected java.io.File getWebRoot(java.io.File requestedWebroot,
java.io.File warfile)
throws java.io.IOException
java.io.IOExceptionprotected void initMultiWebappDir(java.io.File webappsDir)
public WebAppConfiguration getWebAppBySessionKey(java.lang.String sessionKey)
Copyright © 2013. All Rights Reserved.