1 26 27 package org.objectweb.openccm.OpenCCM_DCI.cif; 28 29 import org.objectweb.openccm.OpenCCM_DCI.*; 30 31 39 40 public class AssemblyFactoryManagerHomeImpl 41 extends org.objectweb.openccm.OpenCCM_DCI 42 .AssemblyFactoryManagerSessionComposition 43 .AssemblyFactoryManagerHomeImpl 44 { 45 51 52 58 59 public 60 AssemblyFactoryManagerHomeImpl() 61 { 62 super(); 63 } 64 65 71 77 83 88 public org.omg.Components.ExecutorSegmentBase 89 create_executor_segment(int segid) 90 { 91 switch(segid){ 92 case 0 93 : return new AssemblyFactoryManagerImpl(); 94 case org.objectweb.openccm.OpenCCM_DCI. 95 AssemblyFactoryManagerSessionComposition. 96 AssemblyFactorySeg._segment_id_value 97 : return new AssemblyFactorySegImpl(); 98 case org.objectweb.openccm.OpenCCM_DCI. 99 AssemblyFactoryManagerSessionComposition. 100 AssemblyManagerRegistrationSeg._segment_id_value 101 : return new AssemblyManagerRegistrationImpl(); 102 default:System.err.println("Bad segment request"); return null; 103 } 104 105 } 106 107 113 117 public static org.omg.Components.HomeExecutorBase 118 create_home() 119 { 120 return new AssemblyFactoryManagerHomeImpl(); 121 } 122 123 } 124 | Popular Tags |