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

Method check

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

Check status of all webapps.

()

Source from the content-addressed store, hash-verified

1632 * Check status of all webapps.
1633 */
1634 protected void check() {
1635
1636 if (host.getAutoDeploy()) {
1637 // Check for resources modification to trigger redeployment
1638 DeployedApplication[] apps = deployed.values().toArray(new DeployedApplication[0]);
1639 for (DeployedApplication app : apps) {
1640 if (tryAddServiced(app.name)) {
1641 try {
1642 checkResources(app, false);
1643 } finally {
1644 removeServiced(app.name);
1645 }
1646 }
1647 }
1648
1649 // Check for old versions of applications that can now be undeployed
1650 if (host.getUndeployOldVersions()) {
1651 checkUndeploy();
1652 }
1653
1654 // Hotdeploy applications
1655 deployApps();
1656 }
1657 }
1658
1659
1660 /**

Callers 1

lifecycleEventMethod · 0.95

Calls 12

tryAddServicedMethod · 0.95
checkResourcesMethod · 0.95
removeServicedMethod · 0.95
checkUndeployMethod · 0.95
deployAppsMethod · 0.95
getAutoDeployMethod · 0.65
isAvailableMethod · 0.65
getStateMethod · 0.65
getMethod · 0.65
toArrayMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected