public class WebAppExpandDeployGenerator extends ExpandDeployGenerator<WebAppController> implements EnvironmentListener
Constructor and Description |
---|
WebAppExpandDeployGenerator(java.lang.String id,
DeployContainer<WebAppController> container,
WebAppContainer webAppContainer)
Creates the new expand deploy.
|
Modifier and Type | Method and Description |
---|---|
void |
addWebApp(WebAppConfig config)
Adds an overriding web-app
|
void |
addWebAppDefault(WebAppConfig config)
Adds a default.
|
protected void |
afterUpdate() |
protected WebAppController |
createController(ExpandVersion version)
Returns the new controller.
|
WebAppController |
createVersionController(ExpandVersion version)
Returns the new controller.
|
protected void |
destroyImpl()
Destroy the deployment.
|
protected void |
fillDeployedNames(java.util.Set<java.lang.String> keys)
Returns the deployed keys.
|
WebAppContainer |
getContainer()
Gets the webApp container.
|
java.lang.String |
getId() |
protected java.util.logging.Logger |
getLog()
Returns the log.
|
java.lang.String |
getURLPrefix()
Gets the url prefix.
|
protected java.lang.String |
keyToName(java.lang.String key) |
protected void |
mergeController(WebAppController controller,
java.lang.String key)
Returns the current array of webApp entries.
|
protected java.lang.String |
nameToKey(java.lang.String name) |
void |
setLazyInit(boolean lazyInit)
Sets true for a lazy-init.
|
void |
setParent(WebAppController parent)
Sets the parent webApp.
|
void |
setParentClassLoader(java.lang.ClassLoader loader)
Sets the parent loader.
|
void |
setURLPrefix(java.lang.String prefix)
Sets the url prefix.
|
protected void |
startImpl()
Start the deploy.
|
addExpandCleanupFileset, addExpandPreserveFileset, addRequireFile, beforeUpdate, deploy, equals, generateController, getArchiveDirectory, getArchivePath, getConfigException, getDependencyCheckInterval, getExpandDirectory, getExpandPath, getExpandPrefix, getExpandSuffix, getExtension, getNames, getPath, getPathSuffix, getPrimaryVersion, getRepository, handleAlarm, initImpl, isDeployedKey, isModified, isVersioning, logModified, onTagChange, onUpdate, setArchiveDirectory, setDependencyCheckInterval, setEntryNamePrefix, setExpandDirectory, setExpandPath, setExpandPrefix, setExpandSuffix, setExtension, setMultiversionRouting, setPath, setPathSuffix, setVersioning, start, stop, stopImpl, toString, undeploy, update, updateIfModified, updateIfModifiedNow
destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, getConfigException, getDeployContainer, getParentClassLoader, getRedeployMode, getStartupMode, getState, init, isActive, isDestroyed, setRedeployMode, setStartupMode, start, stop
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
environmentBind, environmentConfigure, environmentStart, environmentStop
public WebAppExpandDeployGenerator(java.lang.String id, DeployContainer<WebAppController> container, WebAppContainer webAppContainer)
public java.lang.String getId()
getId
in class ExpandDeployGenerator<WebAppController>
public WebAppContainer getContainer()
public void setParent(WebAppController parent)
public void setParentClassLoader(java.lang.ClassLoader loader)
public void setURLPrefix(java.lang.String prefix)
public java.lang.String getURLPrefix()
public void setLazyInit(boolean lazyInit) throws ConfigException
ConfigException
public void addWebApp(WebAppConfig config)
public void addWebAppDefault(WebAppConfig config)
protected java.util.logging.Logger getLog()
getLog
in class ExpandDeployGenerator<WebAppController>
protected void fillDeployedNames(java.util.Set<java.lang.String> keys)
fillDeployedNames
in class ExpandDeployGenerator<WebAppController>
protected void startImpl()
startImpl
in class ExpandDeployGenerator<WebAppController>
protected WebAppController createController(ExpandVersion version)
createController
in class ExpandDeployGenerator<WebAppController>
public WebAppController createVersionController(ExpandVersion version)
protected void afterUpdate()
afterUpdate
in class ExpandDeployGenerator<WebAppController>
protected void mergeController(WebAppController controller, java.lang.String key)
mergeController
in class DeployGenerator<WebAppController>
protected java.lang.String keyToName(java.lang.String key)
keyToName
in class ExpandDeployGenerator<WebAppController>
protected java.lang.String nameToKey(java.lang.String name)
nameToKey
in class ExpandDeployGenerator<WebAppController>
protected void destroyImpl()
destroyImpl
in class DeployGenerator<WebAppController>