MCPcopy Index your code
hub / github.com/apache/tomcat / deploymentExists

Method deploymentExists

java/org/apache/catalina/startup/HostConfig.java:1242–1244  ·  view source on GitHub ↗

Check if a webapp is already deployed in this host. @param contextName of the context which will be checked @return true if the specified deployment exists

(String contextName)

Source from the content-addressed store, hash-verified

1240 * @return <code>true</code> if the specified deployment exists
1241 */
1242 protected boolean deploymentExists(String contextName) {
1243 return deployed.containsKey(contextName) || (host.findChild(contextName) != null);
1244 }
1245
1246
1247 /**

Callers 4

deployAppsMethod · 0.95
deployDescriptorsMethod · 0.95
deployWARsMethod · 0.95
deployDirectoriesMethod · 0.95

Calls 2

findChildMethod · 0.65
containsKeyMethod · 0.45

Tested by

no test coverage detected