1 26 27 package org.objectweb.openccm.OpenCCM_DCI.cif; 28 29 import org.objectweb.openccm.OpenCCM_DCI.*; 30 31 39 public class ContainerManagerRegistrationImpl 40 extends org.objectweb.openccm.OpenCCM_DCI 41 .ComponentServerManagerSessionComposition. 42 ContainerManagerRegistrationSeg 43 { 44 45 61 66 public org.omg.Components.Cookie 67 register_container_manager(org.objectweb.openccm 68 .OpenCCM_DCI.ContainerManager container_manager) 69 { 70 try{ 71 return ((org.objectweb.openccm 73 .OpenCCM_DCI.ComponentServerManagerCCM) 74 get_context()) 75 .connect_container_managers(container_manager) ; 76 } 77 catch(Exception e){e.printStackTrace();} 78 return null; 79 } 80 81 85 public void 86 unregister_container_manager(org.omg.Components.Cookie cookie) 87 throws org.omg.Components.CookieRequired{ 88 try{ 89 ((org.objectweb.openccm.OpenCCM_DCI.ComponentServerManagerCCM) 90 get_context()) 91 .disconnect_container_managers(cookie); 92 } 93 catch(Exception e){ 94 e.printStackTrace(); 95 throw new org.omg.Components.CookieRequired(); 96 } 97 } 98 99 } 100 | Popular Tags |