|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.env.deploy.DeployController<I>
com.caucho.env.deploy.ExpandDeployController<I>
com.caucho.env.deploy.EnvironmentDeployController<WebApp,WebAppConfig>
com.caucho.server.webapp.WebAppController
com.caucho.server.webapp.WebAppVersioningController
public class WebAppVersioningController
A configuration entry for a versioning web-app.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.caucho.server.webapp.WebAppController |
|---|
WebAppController.Var |
| Field Summary |
|---|
| Fields inherited from class com.caucho.env.deploy.ExpandDeployController |
|---|
APPLICATION_HASH_PATH |
| Fields inherited from class com.caucho.env.deploy.DeployController |
|---|
_lifecycle, REDEPLOY_CHECK_INTERVAL |
| Constructor Summary | |
|---|---|
WebAppVersioningController(java.lang.String id,
java.lang.String baseKey,
java.lang.String contextPath,
WebAppExpandDeployGenerator generator,
WebAppContainer container)
|
|
| Method Summary | |
|---|---|
protected void |
destroyInstance(WebApp instance)
|
WebAppAdmin |
getAdmin()
Returns the admin. |
DeployControllerType |
getControllerType()
Returns the controller type |
WebApp |
getDeployInstance()
Returns the current instance. |
java.lang.String |
getVersion()
Gets the version id. |
protected void |
initBegin()
Initialize the controller. |
protected void |
initEnd()
Initialize the controller. |
WebApp |
instantiateDeployInstance()
Returns the instance for a top-level request |
boolean |
isModified()
Returns true if the entry is modified. |
boolean |
isVersioning()
|
void |
merge(DeployControllerApi<WebApp> newControllerV)
Merges with the old controller. |
protected WebApp |
startImpl()
Starts the entry. |
protected void |
stopImpl()
Stops the current instance. |
protected void |
stopLazyImpl()
Stops the current instance, putting it in the lazy state. |
java.lang.String |
toString()
Returns a printable view. |
boolean |
updateVersion()
|
| Methods inherited from class com.caucho.env.deploy.EnvironmentDeployController |
|---|
addConfigDefault, configureInstance, environmentBind, environmentConfigure, environmentStart, environmentStop, getArchivePath, getConfig, getConfigException, getErrorMessage, getMBean, getObjectName, getPrologue, getRepositoryMetaData, getVariableMap, setConfig, setConfigException, setPrologue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WebAppVersioningController(java.lang.String id,
java.lang.String baseKey,
java.lang.String contextPath,
WebAppExpandDeployGenerator generator,
WebAppContainer container)
| Method Detail |
|---|
public boolean isVersioning()
isVersioning in class WebAppControllerpublic DeployControllerType getControllerType()
DeployControllerApi
getControllerType in interface DeployControllerApi<WebApp>getControllerType in class DeployController<WebApp>public java.lang.String getVersion()
WebAppController
getVersion in class WebAppControllerpublic WebAppAdmin getAdmin()
WebAppController
getAdmin in class WebAppControllerpublic WebApp instantiateDeployInstance()
instantiateDeployInstance in class WebAppControllerprotected WebApp startImpl()
startImpl in class DeployController<WebApp>public WebApp getDeployInstance()
DeployController
getDeployInstance in interface DeployControllerApi<WebApp>getDeployInstance in class DeployController<WebApp>protected void stopImpl()
DeployController
stopImpl in class DeployController<WebApp>protected void stopLazyImpl()
DeployController
stopLazyImpl in class DeployController<WebApp>protected void destroyInstance(WebApp instance)
destroyInstance in class DeployController<WebApp>protected void initBegin()
initBegin in class WebAppControllerprotected void initEnd()
initEnd in class WebAppControllerpublic boolean isModified()
DeployController
isModified in interface DependencyisModified in class DeployController<WebApp>public void merge(DeployControllerApi<WebApp> newControllerV)
EnvironmentDeployController
merge in interface DeployControllerApi<WebApp>merge in class EnvironmentDeployController<WebApp,WebAppConfig>public boolean updateVersion()
public java.lang.String toString()
toString in class WebAppController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||