Package org.apache.catalina.startup
Class HostConfig.DeployedApplication
- java.lang.Object
-
- org.apache.catalina.startup.HostConfig.DeployedApplication
-
- Enclosing class:
- HostConfig
protected static class HostConfig.DeployedApplication extends java.lang.Object
This class represents the state of a deployed application, as well as the monitored resources.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
hasDescriptor
Does this application have a context.xml descriptor file on the host's configBase?boolean
loggedDirWarning
In some circumstances, such as when unpackWARs is true, a directory may be added to the appBase that is ignored.java.lang.String
name
Application context path.java.util.LinkedHashMap<java.lang.String,java.lang.Long>
redeployResources
Any modification of the specified (static) resources will cause a redeployment of the application.java.util.HashMap<java.lang.String,java.lang.Long>
reloadResources
Any modification of the specified (static) resources will cause a reload of the application.long
timestamp
Instant where the application was last put in service.
-
Constructor Summary
Constructors Constructor Description DeployedApplication(java.lang.String name, boolean hasDescriptor)
-
-
-
Field Detail
-
name
public final java.lang.String name
Application context path. The assertion is that (host.getChild(name) != null).
-
hasDescriptor
public final boolean hasDescriptor
Does this application have a context.xml descriptor file on the host's configBase?
-
redeployResources
public final java.util.LinkedHashMap<java.lang.String,java.lang.Long> 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
public final java.util.HashMap<java.lang.String,java.lang.Long> 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 timestamp
Instant where the application was last put in service.
-
loggedDirWarning
public boolean loggedDirWarning
In 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.
-
-