com.caucho.server.webapp
Class UnknownWebAppController

java.lang.Object
  extended by com.caucho.env.deploy.DeployController<I>
      extended by com.caucho.env.deploy.ExpandDeployController<I>
          extended by com.caucho.env.deploy.EnvironmentDeployController<WebApp,WebAppConfig>
              extended by com.caucho.server.webapp.WebAppController
                  extended by com.caucho.server.webapp.UnknownWebAppController
All Implemented Interfaces:
DeployActionHandler, DeployControllerApi<WebApp>, RepositoryTagListener, EnvironmentListener, Dependency

@Module
public class UnknownWebAppController
extends WebAppController

Manages the lifecycle of a web-app. The same WebAppController is used for each web-app instantiation, for example on restarts. It's only created or destroyed if the web-app-deploy indicates it should be created/destroyed. Each WebAppController corresponds to a DeployNetworkService tag with the name "WebApp/[host]/[context-path]"


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
UnknownWebAppController(java.lang.String id, Path rootDirectory, WebAppContainer container)
           
 
Method Summary
protected  WebApp instantiateDeployInstance()
          Instantiate the webApp.
 
Methods inherited from class com.caucho.server.webapp.WebAppController
addDepend, addDependencies, clearCache, configureInstanceVariables, destroy, extendJMXContext, fillInitList, getAdmin, getContainer, getContextPath, getContextPath, getDeployAdmin, getHost, getLifetimeClientDisconnectCount, getLifetimeConnectionCount, getLifetimeConnectionTime, getLifetimeReadBytes, getLifetimeWriteBytes, getLog, getMBeanId, getMBeanTypeName, getName, getParent, getSourceType, getURL, getVar, getVersion, getWarName, getWebApp, getWebManager, initBegin, initEnd, isDynamicDeploy, isInheritSession, isNameMatch, isVersionAlias, isVersioning, onStartComplete, onStop, protectedWebApp, removeExpandFile, setDynamicDeploy, setInheritSession, setOldWebApp, setParentWebApp, setRegexpValues, setSourceType, setVersion, setVersionAlias, setWarName, toString, updateStatistics
 
Methods inherited from class com.caucho.env.deploy.EnvironmentDeployController
addConfigDefault, configureInstance, environmentBind, environmentConfigure, environmentStart, environmentStop, getArchivePath, getConfig, getConfigException, getErrorMessage, getMBean, getObjectName, getPrologue, getRepositoryMetaData, getVariableMap, merge, setConfig, setConfigException, setPrologue
 
Methods inherited from class com.caucho.env.deploy.ExpandDeployController
addExpandCleanupFileSet, addExpandPreserveFileset, addManifestClassPath, controllerLogModified, deploy, deployImpl, equals, getAutoDeployStage, getAutoDeployTag, getManifest, getManifestAttributes, getRepository, getRootDirectory, getVersionDependency, hashCode, isAllowRepository, isControllerModified, isControllerModifiedNow, onActive, onDestroy, onError, onTagChange, postConfigureInstance, postExtract, preConfigureInstance, removeExpandDirectory, removeExpandDirectory, setAllowRepository, setArchivePath, setDependencyCheckInterval, setRootDirectory, setVersionDependency
 
Methods inherited from class com.caucho.env.deploy.DeployController
addLifecycleListener, alarm, close, createDeployInstance, destroyInstance, getActiveDeployInstance, getActiveWaitTime, getControllerType, getDeployInstance, getDeployInstanceImpl, getId, getIdKey, getIdStage, getIdType, getParentClassLoader, getRedeployCheckInterval, getRedeployMode, getStartTime, getStartupMode, getStartupPriority, getState, init, isIdleTimeout, isModified, isModifiedNow, logModified, mergeRedeployCheckInterval, mergeRedeployMode, request, restart, setActiveWaitTimeMillis, setControllerType, setRedeployCheckInterval, setRedeployMode, setStartupMode, setStartupPriority, start, startImpl, startOnInit, stop, stopImpl, stopLazyImpl, subrequest, toRestart, toStart, toStop, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownWebAppController

public UnknownWebAppController(java.lang.String id,
                               Path rootDirectory,
                               WebAppContainer container)
Method Detail

instantiateDeployInstance

protected WebApp instantiateDeployInstance()
Instantiate the webApp.

Overrides:
instantiateDeployInstance in class WebAppController