Process a "stop" event for this Host.
()
| 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 | /** |
no test coverage detected