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