12011202120312041205120612071208120912101211
Service service = getService(oname); Engine engine = (Engine) service.getContainer(); Host host = (Host) engine.findChild(hostName); // Remove this component from its parent component engine.removeChild(host); } /**
12181219122012211222122312241225122612271228
144145146147148149150151152153154
} /** {@inheritDoc} */ public synchronized void removeHost(Host host) { final Engine engine = this.engine; engine.removeChild(host); } InjectedValue<MBeanServer> getMbeanServer() { return mbeanServer; }
139140141142143144145146147148149
10111012101310141015101610171018101910201021
// Remove this component from its parent component if(host!=null) { if(host instanceof StandardHost) ((StandardHost)host).destroy(); else engine.removeChild(host); } }
10331034103510361037103810391040104110421043
947948949950951952953954955956957
Engine engine = (Engine) service.getContainer(); Host host = (Host) engine.findChild(hostName); // Remove this component from its parent component if(host!=null) { engine.removeChild(host); } } /**
971972973974975976977978979980981