|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.env.deploy.DeployGenerator<WebAppController>
com.caucho.server.webapp.WebAppSingleDeployGenerator
public class WebAppSingleDeployGenerator
The generator for the web-app deploy
Constructor Summary | |
---|---|
WebAppSingleDeployGenerator(DeployContainer<WebAppController> deployContainer)
Creates the new host deploy. |
|
WebAppSingleDeployGenerator(DeployContainer<WebAppController> deployContainer,
WebAppContainer container,
WebAppConfig config)
Creates the new web-app deploy. |
Method Summary | |
---|---|
void |
addWebAppDefault(WebAppConfig config)
Adds a default. |
void |
deploy()
Initialize the deployment. |
protected void |
destroyImpl()
Destroy the deployment. |
protected void |
fillDeployedNames(java.util.Set<java.lang.String> keys)
Returns the deployed keys. |
void |
generateController(java.lang.String name,
java.util.ArrayList<WebAppController> list)
Creates a controller given the name |
java.lang.Throwable |
getConfigException()
|
WebAppContainer |
getContainer()
Gets the webApp container. |
protected java.util.logging.Logger |
getLog()
Returns the log. |
java.lang.String |
getURLPrefix()
Gets the url prefix. |
protected void |
initImpl()
Initializes the controller. |
void |
mergeController(WebAppController controller,
java.lang.String name)
Merges the controllers. |
void |
setContainer(WebAppContainer container)
Sets the webApp container. |
void |
setParentClassLoader(java.lang.ClassLoader loader)
Sets the parent loader. |
void |
setParentWebApp(WebAppController parent)
Sets the parent webApp. |
void |
setRootDirectory(Path rootDirectory)
Sets the root directory. |
void |
setURLPrefix(java.lang.String prefix)
Sets the url prefix. |
java.lang.String |
toString()
|
Methods inherited from class com.caucho.env.deploy.DeployGenerator |
---|
destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, getDeployContainer, getParentClassLoader, getRedeployMode, getStartupMode, getState, init, isActive, isDestroyed, isModified, logModified, setRedeployMode, setStartupMode, start, startImpl, stop, stopImpl, update, updateIfModified |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.caucho.loader.EnvironmentListener |
---|
environmentBind, environmentConfigure, environmentStart, environmentStop |
Constructor Detail |
---|
public WebAppSingleDeployGenerator(DeployContainer<WebAppController> deployContainer)
public WebAppSingleDeployGenerator(DeployContainer<WebAppController> deployContainer, WebAppContainer container, WebAppConfig config)
Method Detail |
---|
public WebAppContainer getContainer()
public void setContainer(WebAppContainer container)
public void setParentWebApp(WebAppController parent)
public void setParentClassLoader(java.lang.ClassLoader loader)
public void setURLPrefix(java.lang.String prefix)
public java.lang.String getURLPrefix()
public void setRootDirectory(Path rootDirectory)
public void addWebAppDefault(WebAppConfig config)
protected java.util.logging.Logger getLog()
getLog
in class DeployGenerator<WebAppController>
protected void initImpl()
initImpl
in class DeployGenerator<WebAppController>
protected void fillDeployedNames(java.util.Set<java.lang.String> keys)
fillDeployedNames
in class DeployGenerator<WebAppController>
public void generateController(java.lang.String name, java.util.ArrayList<WebAppController> list)
generateController
in class DeployGenerator<WebAppController>
public void mergeController(WebAppController controller, java.lang.String name)
mergeController
in class DeployGenerator<WebAppController>
public void deploy()
public java.lang.Throwable getConfigException()
getConfigException
in class DeployGenerator<WebAppController>
protected void destroyImpl()
destroyImpl
in class DeployGenerator<WebAppController>
public java.lang.String toString()
toString
in class DeployGenerator<WebAppController>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |