MCPcopy Create free account
hub / github.com/apache/tomcat / stop

Method stop

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

Process a "stop" event for this Host.

()

Source from the content-addressed store, hash-verified

1612 * Process a "stop" event for this Host.
1613 */
1614 public void stop() {
1615
1616 if (log.isTraceEnabled()) {
1617 log.trace(sm.getString("hostConfig.stop"));
1618 }
1619
1620 if (oname != null) {
1621 try {
1622 Registry.getRegistry(null).unregisterComponent(oname);
1623 } catch (Exception e) {
1624 log.warn(sm.getString("hostConfig.jmx.unregister", oname), e);
1625 }
1626 }
1627 oname = null;
1628 }
1629
1630
1631 /**

Callers 1

lifecycleEventMethod · 0.95

Calls 6

getRegistryMethod · 0.95
isTraceEnabledMethod · 0.65
traceMethod · 0.65
getStringMethod · 0.65
unregisterComponentMethod · 0.65
warnMethod · 0.65

Tested by

no test coverage detected