com.caucho.server.webapp
Class WebAppVersioningController

java.lang.Object
  extended by com.caucho.server.deploy.DeployController<I>
      extended by com.caucho.server.deploy.ExpandDeployController<I>
          extended by com.caucho.server.deploy.EnvironmentDeployController<WebApp,WebAppConfig>
              extended by com.caucho.server.webapp.WebAppController
                  extended by com.caucho.server.webapp.WebAppVersioningController
All Implemented Interfaces:
EnvironmentListener, AlarmListener, Dependency, java.util.EventListener

public class WebAppVersioningController
extends WebAppController

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.server.webapp.WebAppController
_container
 
Fields inherited from class com.caucho.server.deploy.DeployController
_lifecycle, REDEPLOY_AUTOMATIC, REDEPLOY_CHECK_INTERVAL, REDEPLOY_DEFAULT, REDEPLOY_LAZY, REDEPLOY_MANUAL, STARTUP_AUTOMATIC, STARTUP_DEFAULT, STARTUP_LAZY, STARTUP_MANUAL
 
Constructor Summary
WebAppVersioningController(java.lang.String name, java.lang.String contextPath, WebAppExpandDeployGenerator generator, WebAppContainer container)
           
 
Method Summary
 java.lang.String getVersion()
          Gets the version id.
protected  void initBegin()
          Initialize the controller.
 WebApp request()
          Returns the instance for a top-level request
protected  WebApp startImpl()
          Starts the entry.
 WebApp subrequest()
          Returns the instance for a subrequest.
 java.lang.String toString()
          Returns a printable view.
 
Methods inherited from class com.caucho.server.webapp.WebAppController
addDepend, addDependencies, calculateRootDirectory, configureInstanceVariables, destroy, extendJMXContext, fillInitList, getAdmin, getContainer, getContextPath, getContextPath, getDeployAdmin, getHost, getLifetimeClientDisconnectCount, getLifetimeConnectionCount, getLifetimeConnectionTime, getLifetimeReadBytes, getLifetimeWriteBytes, getLog, getMBeanId, getMBeanTypeName, getParent, getSourceType, getURL, getVar, getWarName, getWebApp, initEnd, instantiateDeployInstance, isDynamicDeploy, isInheritSession, isNameMatch, merge, protectedWebApp, removeExpandFile, setContextPath, setDynamicDeploy, setInheritSession, setOldWebApp, setParentWebApp, setRegexpValues, setSourceType, setVersion, setWarName, updateStatistics
 
Methods inherited from class com.caucho.server.deploy.EnvironmentDeployController
addConfigDefault, configureInstance, environmentBind, environmentConfigure, environmentStart, environmentStop, getArchivePath, getConfig, getConfigException, getMBean, getObjectName, getPrologue, getVariableMap, mergeController, setConfig, setConfigException, setPrologue
 
Methods inherited from class com.caucho.server.deploy.ExpandDeployController
addManifestClassPath, equals, expandArchive, getGit, getGitRefPath, getManifest, getManifestAttributes, getRootDirectory, hashCode, removeExpandDirectory, removeExpandDirectory, setArchivePath, setExpandCleanupFileSet, setGit, setGitRefPath, setManifestClassLoader, setRootDirectory
 
Methods inherited from class com.caucho.server.deploy.DeployController
addLifecycleListener, getDeployInstance, getId, getParentClassLoader, getRedeployCheckInterval, getRedeployMode, getStartTime, getStartupMode, getStartupPriority, getState, handleAlarm, init, isActive, isActiveIdle, isDestroyed, isError, isErrorNow, isModified, isModifiedNow, isStopped, isStoppedLazy, logModified, mergeRedeployCheckInterval, mergeRedeployMode, mergeStartupMode, restart, setRedeployCheckInterval, setRedeployMode, setStartupMode, setStartupPriority, start, startOnInit, stop, toRedeployCode, toStartupCode, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebAppVersioningController

public WebAppVersioningController(java.lang.String name,
                                  java.lang.String contextPath,
                                  WebAppExpandDeployGenerator generator,
                                  WebAppContainer container)
Method Detail

getVersion

public java.lang.String getVersion()
Description copied from class: WebAppController
Gets the version id.

Overrides:
getVersion in class WebAppController

request

public WebApp request()
Returns the instance for a top-level request

Overrides:
request in class DeployController<WebApp>
Returns:
the request object or null for none.

subrequest

public WebApp subrequest()
Returns the instance for a subrequest.

Overrides:
subrequest in class DeployController<WebApp>
Returns:
the request object or null for none.

startImpl

protected WebApp startImpl()
Starts the entry.

Overrides:
startImpl in class DeployController<WebApp>

initBegin

protected void initBegin()
Initialize the controller.

Overrides:
initBegin in class WebAppController

toString

public java.lang.String toString()
Returns a printable view.

Overrides:
toString in class WebAppController