1 26 27 package org.objectweb.openccm.OpenCCM_DCI.cif; 28 29 import org.objectweb.openccm.OpenCCM_DCI.*; 30 31 39 40 public class ComponentServerManagerHomeImpl 41 extends org.objectweb.openccm 42 .OpenCCM_DCI.ComponentServerManagerSessionComposition. 43 ComponentServerManagerHomeImpl 44 { 45 51 57 58 public 59 ComponentServerManagerHomeImpl() 60 { 61 62 } 63 64 70 76 82 87 public org.omg.Components.ExecutorSegmentBase 88 create_executor_segment(int segid) 89 { 90 91 switch(segid) 92 { 93 case 0: return new ComponentServerManagerImpl(); 94 case org.objectweb.openccm.OpenCCM_DCI. 95 ComponentServerManagerSessionComposition. 96 ContainerManagerRegistrationSeg._segment_id_value 97 : return new ContainerManagerRegistrationImpl(); 98 case org.objectweb.openccm.OpenCCM_DCI. 99 ComponentServerManagerSessionComposition. 100 ComponentServerSeg._segment_id_value 101 : return new ComponentServerSegImpl(); 102 default: System.err.println("Bad segment request"); 103 104 return null; 105 } 106 } 107 108 109 110 116 120 public static org.omg.Components.HomeExecutorBase 121 create_home() 122 { 123 return new ComponentServerManagerHomeImpl(); 124 } 125 126 } 127 128 | Popular Tags |