972973974975976977978979980981982
// Remove this component from its parent component if(host!=null) { if(host instanceof StandardHost) ((StandardHost)host).destroy(); else engine.removeChild(host); } }
795796797798799800801802803804805
Engine engine = (Engine) service.getContainer(); Host host = (Host) engine.findChild(hostName); // Remove this component from its parent component if(host!=null) { engine.removeChild(host); } } /**
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); } /**
12121213121412151216121712181219122012211222
12631264126512661267126812691270127112721273
11661167116811691170117111721173117411751176
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
908909910911912913914915916917918
891892893894895896897898899900901