public class WebAppSingleDeployGenerator extends DeployGenerator<WebAppController> implements EnvironmentListener
Constructor and Description |
---|
WebAppSingleDeployGenerator(DeployContainer<WebAppController> deployContainer)
Creates the new host deploy.
|
WebAppSingleDeployGenerator(DeployContainer<WebAppController> deployContainer,
WebAppContainer container,
WebAppConfig config)
Creates the new web-app deploy.
|
Modifier and Type | Method and Description |
---|---|
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() |
destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, getDeployContainer, getParentClassLoader, getRedeployMode, getStartupMode, getState, init, isActive, isDestroyed, isModified, logModified, setRedeployMode, setStartupMode, start, startImpl, stop, stopImpl, update, updateIfModified
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
environmentBind, environmentConfigure, environmentStart, environmentStop
public WebAppSingleDeployGenerator(DeployContainer<WebAppController> deployContainer)
public WebAppSingleDeployGenerator(DeployContainer<WebAppController> deployContainer, WebAppContainer container, WebAppConfig config)
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>