|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.env.deploy.DeployGenerator<E>
com.caucho.env.deploy.ExpandDeployGenerator<WebAppController>
com.caucho.server.webapp.WebAppExpandDeployGenerator
public class WebAppExpandDeployGenerator
The generator for the web-app deploy
Constructor Summary | |
---|---|
WebAppExpandDeployGenerator(java.lang.String id,
DeployContainer<WebAppController> container,
WebAppContainer webAppContainer)
Creates the new expand deploy. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.caucho.env.deploy.DeployGenerator |
---|
destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, getConfigException, getDeployContainer, getParentClassLoader, getRedeployMode, getStartupMode, getState, init, isActive, isDestroyed, setRedeployMode, setStartupMode, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.caucho.loader.EnvironmentListener |
---|
environmentBind, environmentConfigure, environmentStart, environmentStop |
Constructor Detail |
---|
public WebAppExpandDeployGenerator(java.lang.String id, DeployContainer<WebAppController> container, WebAppContainer webAppContainer)
Method Detail |
---|
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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |