| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| protected static class | HostConfig.
This class represents the state of a deployed application, as well as the monitored resources. |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| protected String | contextClass
The Java class name of the Context implementation we should use. |
| protected boolean | copyXML
Should XML files be copied to $CATALINA_BASE/conf/<engine>/<host> by default when a web application is deployed? |
| protected final Map | deployed
Map of deployed applications. |
| protected boolean | deployXML
Should we deploy XML Context config files packaged with WAR files and directories? |
| protected Digester | digester
The |
| private final Object | |
| protected static final long | FILE_MODIFICATION_RESOLUTION_MS
The resolution, in milliseconds, of file modification times. |
| protected Host | host
The Host we are associated with. |
| protected final Set | invalidWars
The list of Wars in the appBase to be ignored because they are invalid (e.g. contain /../ sequences). |
| private static final Log | |
| protected ObjectName | oname
The JMX ObjectName of this component. |
| private Set | servicedSet
Set of applications which are being serviced, and shouldn't be deployed/undeployed/redeployed at the moment. |
| protected static final StringManager | sm
The string resources for this package. |
| protected boolean | unpackWARs
Should we unpack WAR files when auto-deploying applications in the |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | addWatchedResources(HostConfig.
HostConfig deployed app app,web app docBase docBase, Context web application context context)Add watched resources to the specified Context. |
| public void | |
| protected void | |
| public void | |
| protected void | checkResources(HostConfig.
The web application to check app,When checking files for modification should the check that requires
that any file modification must have occurred at least as long ago
as the resolution of the file time stamp be skipped skipFileModificationResolutionCheck)Check resources for redeployment and reloading. |
| public void | checkUndeploy()
Check for old versions of applications using parallel deployment that are now unused (have no active sessions) and undeploy any that are found. |
| protected static Digester | Returns: the digesterThe class which will be used to create the context instance contextClassName)Create the digester which will be used to parse context config files. |
| private void | deleteRedeployResources(HostConfig.
|
| protected void | deployApps()
Deploy applications for any directories or WAR files that are found in our "application root" directory. |
| protected void | deployApps(String
The context name which should be deployed name)Deploy applications for any directories or WAR files that are found in our "application root" directory. |
| protected void | deployDescriptor(ContextName
The context name cn, File The descriptor contextXml)Deploy specified context descriptor. |
| protected void | deployDescriptors(File
The config base configBase, String[] The XML descriptors which should be deployed files)Deploy XML context descriptors. |
| protected void | deployDirectories(File
The base path for applications appBase, String[] The exploded webapps that should be deployed files)Deploy exploded webapps. |
| protected void | deployDirectory(ContextName
The context name cn, File The path to the root folder of the webapp dir)Deploy exploded webapp. |
| protected boolean | Returns: true if the specified deployment existsof the context which will be checked contextName)Check if a webapp is already deployed in this host. |
| protected void | |
| protected void | deployWARs(File
The base path for applications appBase, String[] The WARs to deploy files)Deploy WAR files. |
| protected String[] | Returns: The filtered list of application pathsThe list of application paths to filter unfilteredAppPaths)Filter the list of application file paths to remove those that match the regular expression defined by
|
| public String | |
| public String | |
| public long | Returns: 0L if no application with that name is deployed, or the instant on which the application was deployedthe context name name)Get the instant where an application was deployed. |
| public boolean | |
| private boolean | |
| public boolean | Returns: true if the application has been deployed and false if the application has not
been deployed or does not existthe context name name)Has the specified application been deployed? |
| private boolean | |
| public boolean | |
| public boolean | |
| public void | lifecycleEvent(LifecycleEvent
The lifecycle event that has occurred event)Implements org. Process the START event for an associated Host. |
| public void | |
| protected void | |
| protected void | |
| private void | |
| public void | |
| protected File | |
| public void | setContextClass(String
The new Context implementation class name. contextClass)Set the Context implementation class name. |
| public void | setCopyXML(boolean
The new copy XML flag copyXML)Set the copy XML config file flag for this component. |
| public void | setDeployXML(boolean
The new deploy XML flag deployXML)Set the deploy XML config file flag for this component. |
| public void | |
| public void | |
| public void | |
| public boolean | Returns: true if the application was not already in the listthe context name name)Add a serviced application to the list and indicates if the application was already present in the list. |
| private void | |
| public void | |
| private boolean |