|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.deploy.DeployGenerator<E>
com.caucho.server.deploy.ExpandDeployGenerator<WebAppController>
com.caucho.server.webapp.WebAppExpandDeployGenerator
public class WebAppExpandDeployGenerator
The generator for the web-app deploy
| Constructor Summary | |
|---|---|
WebAppExpandDeployGenerator(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 WebAppController |
createController(java.lang.String name)
Returns the new controller. |
protected void |
destroyImpl()
Destroy the deployment. |
protected java.lang.String |
entryNameToArchiveName(java.lang.String entryName)
Converts the archive name to the entry name, returns null if the archive name is not valid. |
protected void |
fillDeployedKeys(java.util.Set<java.lang.String> keys)
Returns the deployed keys. |
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()
Configuration checks on init. |
protected WebAppController |
mergeController(WebAppController controller,
java.lang.String key)
Returns the current array of webApp entries. |
protected java.lang.String |
pathNameToEntryName(java.lang.String name)
Converts the 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.server.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(DeployContainer<WebAppController> container,
WebAppContainer webAppContainer)
| Method Detail |
|---|
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
ConfigExceptionpublic void addWebApp(WebAppConfig config)
public void addWebAppDefault(WebAppConfig config)
protected void initImpl()
ExpandDeployGenerator
initImpl in class ExpandDeployGenerator<WebAppController>protected java.util.logging.Logger getLog()
getLog in class ExpandDeployGenerator<WebAppController>protected void fillDeployedKeys(java.util.Set<java.lang.String> keys)
fillDeployedKeys in class ExpandDeployGenerator<WebAppController>protected void startImpl()
startImpl in class ExpandDeployGenerator<WebAppController>protected WebAppController createController(java.lang.String name)
createController in class ExpandDeployGenerator<WebAppController>
protected WebAppController mergeController(WebAppController controller,
java.lang.String key)
mergeController in class DeployGenerator<WebAppController>protected java.lang.String pathNameToEntryName(java.lang.String name)
pathNameToEntryName in class ExpandDeployGenerator<WebAppController>protected java.lang.String entryNameToArchiveName(java.lang.String entryName)
ExpandDeployGenerator
entryNameToArchiveName 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 | |||||||||