public class WebAppVersioningController extends WebAppController
WebAppController.VarAPPLICATION_HASH_PATH_lifecycle, REDEPLOY_CHECK_INTERVAL| Constructor and Description |
|---|
WebAppVersioningController(java.lang.String id,
java.lang.String baseKey,
java.lang.String contextPath,
WebAppExpandDeployGenerator generator,
WebAppContainer container) |
| Modifier and Type | Method and Description |
|---|---|
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() |
addDepend, addDependencies, clearCache, configureInstanceVariables, destroy, extendJMXContext, fillInitList, getContainer, getContextPath, getContextPath, getDeployAdmin, getHost, getLifetimeClientDisconnectCount, getLifetimeConnectionCount, getLifetimeConnectionTime, getLifetimeReadBytes, getLifetimeWriteBytes, getLog, getMBeanId, getMBeanTypeName, getName, getParent, getSourceType, getURL, getVar, getWarName, getWebApp, getWebManager, isDynamicDeploy, isInheritSession, isNameMatch, isVersionAlias, onStartComplete, onStop, protectedWebApp, removeExpandFile, setDynamicDeploy, setInheritSession, setOldWebApp, setParentWebApp, setRegexpValues, setSourceType, setVersion, setVersionAlias, setWarName, updateStatisticsaddConfigDefault, configureInstance, environmentBind, environmentConfigure, environmentStart, environmentStop, getArchivePath, getClassPath, getConfig, getConfigException, getErrorMessage, getMBean, getObjectName, getPrologue, getRepositoryMetaData, getVariableMap, setConfig, setConfigException, setPrologueaddExpandCleanupFileSet, addExpandPreserveFileset, addManifestClassPath, addParentExpandCleanupFileSet, controllerLogModified, deploy, deployImpl, equals, getAutoDeployStage, getAutoDeployTag, getManifest, getManifestAttributes, getRepository, getRootDirectory, getVersionDependency, hashCode, isAllowRepository, isControllerModified, isControllerModifiedNow, onActive, onDestroy, onError, onRemove, onTagChange, postConfigureInstance, postExtract, preConfigureInstance, removeExpandDirectory, removeExpandDirectory, removeExpandDirectory, setAllowRepository, setArchivePath, setDependencyCheckInterval, setRootDirectory, setVersionDependency, undeploy, undeployImpladdLifecycleListener, alarm, close, createDeployInstance, getActiveDeployInstance, getActiveWaitTime, getDeployInstanceImpl, getId, getIdKey, getIdStage, getIdType, getParentClassLoader, getRedeployCheckInterval, getRedeployMode, getStartTime, getStartupMode, getStartupPriority, getState, init, isIdleTimeout, isModifiedNow, logModified, mergeRedeployCheckInterval, mergeRedeployMode, remove, request, restart, setActiveWaitTimeMillis, setControllerType, setRedeployCheckInterval, setRedeployMode, setStartupMode, setStartupPriority, start, startOnInit, stop, subrequest, toRestart, toStart, toStop, updatepublic WebAppVersioningController(java.lang.String id,
java.lang.String baseKey,
java.lang.String contextPath,
WebAppExpandDeployGenerator generator,
WebAppContainer container)
public boolean isVersioning()
isVersioning in class WebAppControllerpublic DeployControllerType getControllerType()
DeployControllerApigetControllerType in interface DeployControllerApi<WebApp>getControllerType in class DeployController<WebApp>public java.lang.String getVersion()
WebAppControllergetVersion in class WebAppControllerpublic WebAppAdmin getAdmin()
WebAppControllergetAdmin in class WebAppControllerpublic WebApp instantiateDeployInstance()
instantiateDeployInstance in class WebAppControllerprotected WebApp startImpl()
startImpl in class DeployController<WebApp>public WebApp getDeployInstance()
DeployControllergetDeployInstance in interface DeployControllerApi<WebApp>getDeployInstance in class DeployController<WebApp>protected void stopImpl()
DeployControllerstopImpl in class DeployController<WebApp>protected void stopLazyImpl()
DeployControllerstopLazyImpl 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()
DeployControllerisModified in interface DependencyisModified in class DeployController<WebApp>public void merge(DeployControllerApi<WebApp> newControllerV)
EnvironmentDeployControllermerge in interface DeployControllerApi<WebApp>merge in class EnvironmentDeployController<WebApp,WebAppConfig>public boolean updateVersion()
public java.lang.String toString()
toString in class WebAppController