11831184118511861187118811891190119111921193
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); } /**
910911912913914915916917918919920
// Remove this component from its parent component if(host!=null) { if(host instanceof StandardHost) ((StandardHost)host).destroy(); else engine.removeChild(host); } }
893894895896897898899900901902903
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
951952953954955956957958959960961
798799800801802803804805806807808
11971198119912001201120212031204120512061207
10271028102910301031103210331034103510361037
11911192119311941195119611971198119912001201
11961197119811991200120112021203120412051206