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

Method undeploy

java/org/apache/catalina/startup/HostConfig.java:1455–1467  ·  view source on GitHub ↗
(DeployedApplication app)

Source from the content-addressed store, hash-verified

1453
1454
1455 private void undeploy(DeployedApplication app) {
1456 if (log.isInfoEnabled()) {
1457 log.info(sm.getString("hostConfig.undeploy", app.name));
1458 }
1459 Container context = host.findChild(app.name);
1460 try {
1461 host.removeChild(context);
1462 } catch (Throwable t) {
1463 ExceptionUtils.handleThrowable(t);
1464 log.warn(sm.getString("hostConfig.context.remove", app.name), t);
1465 }
1466 deployed.remove(app.name);
1467 }
1468
1469
1470 private void deleteRedeployResources(DeployedApplication app, String[] resources, int i,

Callers 2

checkResourcesMethod · 0.95
checkUndeployMethod · 0.95

Calls 8

handleThrowableMethod · 0.95
isInfoEnabledMethod · 0.65
infoMethod · 0.65
getStringMethod · 0.65
findChildMethod · 0.65
removeChildMethod · 0.65
warnMethod · 0.65
removeMethod · 0.65

Tested by

no test coverage detected