public class WebAppEarDeployGenerator extends DeployGenerator<WebAppController>
Constructor and Description |
---|
WebAppEarDeployGenerator(DeployContainer<WebAppController> deployContainer,
WebAppContainer container,
EarDeployGenerator earDeploy)
Creates the new host deploy.
|
Modifier and Type | Method and Description |
---|---|
protected void |
destroyImpl()
Destroy the deployment.
|
void |
generateController(java.lang.String name,
java.util.ArrayList<WebAppController> list)
Returns the current array of webApp entries.
|
WebAppContainer |
getContainer()
Gets the webApp container.
|
protected java.util.logging.Logger |
getLog()
Returns the log.
|
java.lang.String |
getURLPrefix()
Gets the url prefix.
|
boolean |
isModified()
Return true if modified.
|
boolean |
logModified(java.util.logging.Logger log)
Log the modification
|
void |
setContainer(WebAppContainer container)
Sets the webApp container.
|
void |
setParentClassLoader(java.lang.ClassLoader loader)
Sets the parent loader.
|
void |
setURLPrefix(java.lang.String prefix)
Sets the url prefix.
|
protected void |
startImpl()
Starts the deployment.
|
protected void |
stopImpl()
Destroy the deployment.
|
java.lang.String |
toString() |
void |
update()
Redeploys if modified.
|
destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, fillDeployedNames, getConfigException, getDeployContainer, getParentClassLoader, getRedeployMode, getStartupMode, getState, init, initImpl, isActive, isDestroyed, mergeController, setRedeployMode, setStartupMode, start, stop, updateIfModified
public WebAppEarDeployGenerator(DeployContainer<WebAppController> deployContainer, WebAppContainer container, EarDeployGenerator earDeploy) throws java.lang.Exception
java.lang.Exception
public WebAppContainer getContainer()
public void setContainer(WebAppContainer container)
public void setParentClassLoader(java.lang.ClassLoader loader)
public void setURLPrefix(java.lang.String prefix)
public java.lang.String getURLPrefix()
protected java.util.logging.Logger getLog()
getLog
in class DeployGenerator<WebAppController>
protected void startImpl()
startImpl
in class DeployGenerator<WebAppController>
public boolean isModified()
isModified
in interface Dependency
isModified
in class DeployGenerator<WebAppController>
public boolean logModified(java.util.logging.Logger log)
logModified
in interface Dependency
logModified
in class DeployGenerator<WebAppController>
public void update()
update
in class DeployGenerator<WebAppController>
public void generateController(java.lang.String name, java.util.ArrayList<WebAppController> list)
generateController
in class DeployGenerator<WebAppController>
protected void stopImpl()
stopImpl
in class DeployGenerator<WebAppController>
protected void destroyImpl()
destroyImpl
in class DeployGenerator<WebAppController>
public java.lang.String toString()
toString
in class DeployGenerator<WebAppController>