141142143144145146147148149150151
} /** {@inheritDoc} */ public synchronized void removeHost(Host host) { final Engine engine = this.engine; engine.removeChild(host); } InjectedValue<MBeanServer> getMbeanServer() { return mbeanServer; }
12041205120612071208120912101211121212131214
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); } /**
11541155115611571158115911601161116211631164
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); } /**
11961197119811991200120112021203120412051206
972973974975976977978979980981982
// Remove this component from its parent component if(host!=null) { if(host instanceof StandardHost) ((StandardHost)host).destroy(); else engine.removeChild(host); } }
936937938939940941942943944945946
134135136137138139140141142143144
949950951952953954955956957958959
Engine engine = (Engine) service.getContainer(); Host host = (Host) engine.findChild(hostName); // Remove this component from its parent component if(host!=null) { engine.removeChild(host); } } /**
908909910911912913914915916917918
971972973974975976977978979980981