Package org.apache.catalina.startup
Class HostConfig.DeployedApplication
java.lang.Object
org.apache.catalina.startup.HostConfig.DeployedApplication
- Enclosing class:
- HostConfig
This class represents the state of a deployed application, as well as the monitored resources.
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
Does this application have a context.xml descriptor file on the host's configBase?boolean
In some circumstances, such as when unpackWARs is true, a directory may be added to the appBase that is ignored.final String
Application context path.final LinkedHashMap<String,
Long> Any modification of the specified (static) resources will cause a redeployment of the application.Any modification of the specified (static) resources will cause a reload of the application.long
Instant where the application was last put in service. -
Constructor Summary
-
Method Summary
-
Field Details
-
name
Application context path. The assertion is that (host.getChild(name) != null). -
hasDescriptor
public final boolean hasDescriptorDoes this application have a context.xml descriptor file on the host's configBase? -
redeployResources
Any modification of the specified (static) resources will cause a redeployment of the application. If any of the specified resources is removed, the application will be undeployed. Typically, this will contain resources like the context.xml file, a compressed WAR path. The value is the last modification time. -
reloadResources
Any modification of the specified (static) resources will cause a reload of the application. This will typically contain resources such as the web.xml of a webapp, but can be configured to contain additional descriptors. The value is the last modification time. -
timestamp
public long timestampInstant where the application was last put in service. -
loggedDirWarning
public boolean loggedDirWarningIn some circumstances, such as when unpackWARs is true, a directory may be added to the appBase that is ignored. This flag indicates that the user has been warned so that the warning is not logged on every run of the auto deployer.
-
-
Constructor Details
-
DeployedApplication
-