948949950951952953954955956957958
Engine engine = (Engine) service.getContainer(); Host host = (Host) engine.findChild(hostName); // Remove this component from its parent component if(host!=null) { engine.removeChild(host); } } /**
153154155156157158159160161162163
} /** {@inheritDoc} */ public synchronized void removeHost(Host host) { final Engine engine = this.engine; engine.removeChild(host); } InjectedValue<MBeanServer> getMbeanServer() { return mbeanServer; }
972973974975976977978979980981982
// Remove this component from its parent component if(host!=null) { if(host instanceof StandardHost) ((StandardHost)host).destroy(); else engine.removeChild(host); } }
876877878879880881882883884885886
936937938939940941942943944945946
10001001100210031004100510061007100810091010
12051206120712081209121012111212121312141215
Service service = server.findService(serviceName); Engine engine = (Engine) service.getContainer(); Host host = (Host) engine.findChild(hostName); // Remove this component from its parent component engine.removeChild(host); } /**
10111012101310141015101610171018101910201021