|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.host.HostContainer
public class HostContainer
Resin's host container implementation.
| Constructor Summary | |
|---|---|
HostContainer()
Creates the webApp with its environment loader. |
|
| Method Summary | |
|---|---|
void |
addEarDefault(EarConfig init)
Adds an ear default |
void |
addHost(HostConfig hostConfig)
Adds a host. |
void |
addHostDefault(HostConfig init)
Adds a host default |
void |
addHostDeploy(HostExpandDeployGenerator hostDeploy)
Adds a host deploy |
void |
addWebAppDefault(WebAppConfig init)
Adds a web-app default |
Invocation |
buildInvocation(Invocation invocation)
Creates the invocation. |
void |
clearCache()
Clears the cache. |
HostExpandDeployGenerator |
createHostDeploy()
Creates a host deploy |
RewriteDispatch |
createRewriteDispatch()
Adds rewrite-dispatch. |
void |
destroy()
Closes the container. |
java.lang.ClassLoader |
getClassLoader()
Gets the environment class loader. |
DispatchServer |
getDispatchServer()
Gets the dispatch server. |
java.util.ArrayList<EarConfig> |
getEarDefaultList()
Returns the list of ear defaults |
WebApp |
getErrorWebApp()
Returns the error webApp during startup. |
Host |
getHost(java.lang.String hostName,
int port)
Returns the matching host. |
java.util.ArrayList<HostConfig> |
getHostDefaultList()
Returns the list of host defaults |
java.util.ArrayList<HostController> |
getHostList()
|
Path |
getRootDirectory()
Gets the root directory. |
java.lang.String |
getURL()
Gets the URL for the default server. |
java.util.ArrayList<WebAppConfig> |
getWebAppDefaultList()
Returns the list of web-app defaults |
void |
setClassLoader(EnvironmentClassLoader classLoader)
Gets the environment class loader. |
void |
setDispatchServer(DispatchServer server)
Sets the dispatch server. |
void |
setRootDir(Path path)
Deprecated. |
void |
setRootDirectory(Path path)
Sets the root directory. |
void |
setURL(java.lang.String url)
Sets the URL for the default server. |
void |
start()
Starts the container. |
void |
stop()
Stops the container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HostContainer()
| Method Detail |
|---|
public java.lang.ClassLoader getClassLoader()
public void setClassLoader(EnvironmentClassLoader classLoader)
public void setURL(java.lang.String url)
public java.lang.String getURL()
public void setDispatchServer(DispatchServer server)
public DispatchServer getDispatchServer()
public Path getRootDirectory()
public void setRootDirectory(Path path)
public void setRootDir(Path path)
public void addHostDefault(HostConfig init)
public java.util.ArrayList<HostConfig> getHostDefaultList()
public HostExpandDeployGenerator createHostDeploy()
public void addHostDeploy(HostExpandDeployGenerator hostDeploy)
public void addHost(HostConfig hostConfig)
throws java.lang.Exception
java.lang.Exceptionpublic void addWebAppDefault(WebAppConfig init)
public java.util.ArrayList<WebAppConfig> getWebAppDefaultList()
public void addEarDefault(EarConfig init)
public java.util.ArrayList<EarConfig> getEarDefaultList()
public RewriteDispatch createRewriteDispatch()
public void clearCache()
public Invocation buildInvocation(Invocation invocation)
throws java.lang.Throwable
buildInvocation in interface DispatchBuilderjava.lang.Throwablepublic java.util.ArrayList<HostController> getHostList()
public Host getHost(java.lang.String hostName,
int port)
public WebApp getErrorWebApp()
public void start()
public void stop()
public void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||