public class WebAppVersioningController extends WebAppController
WebAppController.Var
APPLICATION_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, updateStatistics
addConfigDefault, configureInstance, environmentBind, environmentConfigure, environmentStart, environmentStop, getArchivePath, getClassPath, getConfig, getConfigException, getErrorMessage, getMBean, getObjectName, getPrologue, getRepositoryMetaData, getVariableMap, setConfig, setConfigException, setPrologue
addExpandCleanupFileSet, 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, undeployImpl
addLifecycleListener, 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, update
public WebAppVersioningController(java.lang.String id, java.lang.String baseKey, java.lang.String contextPath, WebAppExpandDeployGenerator generator, WebAppContainer container)
public boolean isVersioning()
isVersioning
in class WebAppController
public DeployControllerType getControllerType()
DeployControllerApi
getControllerType
in interface DeployControllerApi<WebApp>
getControllerType
in class DeployController<WebApp>
public java.lang.String getVersion()
WebAppController
getVersion
in class WebAppController
public WebAppAdmin getAdmin()
WebAppController
getAdmin
in class WebAppController
public WebApp instantiateDeployInstance()
instantiateDeployInstance
in class WebAppController
protected 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 WebAppController
protected void initEnd()
initEnd
in class WebAppController
public boolean isModified()
DeployController
isModified
in interface Dependency
isModified
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