1 26 27 package org.objectweb.openccm.OpenCCM_DCI.cif; 28 29 import org.objectweb.openccm.OpenCCM_DCI.*; 30 31 39 40 public class ContainerManagerHomeImpl 41 extends org.objectweb.openccm 42 .OpenCCM_DCI.ContainerManagerSessionComposition 43 .ContainerManagerHomeImpl 44 { 45 51 57 58 public 59 ContainerManagerHomeImpl() 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 case 0: return new ContainerManagerImpl(); 93 case org.objectweb.openccm.OpenCCM_DCI. 94 ContainerManagerSessionComposition. 95 ContainerSeg._segment_id_value 96 : return new ContainerSegImpl(); 97 default: System.err.println("Invalid segmend request"); 98 return null; 99 } 100 } 101 102 103 104 110 114 public static org.omg.Components.HomeExecutorBase 115 create_home() 116 { 117 return new ContainerManagerHomeImpl(); 118 } 119 120 } 121 122 | Popular Tags |