Package winstone
Class HostConfiguration
java.lang.Object
winstone.HostConfiguration
Manages the references to individual webapps within the container. This object handles
the mapping of url-prefixes to webapps, and init and shutdown of any webapps it manages.
- Version:
- $Id: HostConfiguration.java,v 1.8 2007/08/02 06:16:00 rickknowles Exp $
- Author:
- Rick Knowles
-
Constructor Summary
ConstructorDescriptionHostConfiguration
(org.eclipse.jetty.server.Server server, String hostname, ClassLoader commonLibCL, Map<String, String> args) -
Method Summary
Modifier and TypeMethodDescriptionprotected File
getWebRoot
(File requestedWebroot, File warfile) Setup the webroot.void
reloadWebApp
(String prefix)
-
Constructor Details
-
HostConfiguration
public HostConfiguration(org.eclipse.jetty.server.Server server, String hostname, ClassLoader commonLibCL, @NonNull Map<String, String> args) throws IOException- Throws:
IOException
-
-
Method Details
-
getHostname
-
reloadWebApp
-
getWebRoot
Setup the webroot. If a warfile is supplied, extract any files that the war file is newer than. If none is supplied, use the default temp directory.- Throws:
IOException
-