1 26 27 package org.objectweb.openccm.OpenCCM_DCI.cif; 28 29 import org.objectweb.openccm.OpenCCM_DCI.*; 30 31 39 40 public class DCIManagerHomeImpl 41 extends org.objectweb.openccm 42 .OpenCCM_DCI.DCIManagerSessionComposition 43 .DCIManagerHomeImpl 44 { 45 51 52 58 59 public 60 DCIManagerHomeImpl() 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 DCIManagerImpl(); 94 case org.objectweb.openccm.OpenCCM_DCI. 95 DCIManagerSessionComposition. 96 NodeManagementSeg._segment_id_value 97 : return new NodeManagementSegImpl(); 98 case org.objectweb.openccm.OpenCCM_DCI. 99 DCIManagerSessionComposition. 100 HomeManagementSeg._segment_id_value 101 : return new HomeManagementSegImpl(); 102 case org.objectweb.openccm.OpenCCM_DCI. 103 DCIManagerSessionComposition. 104 DCIInformationSeg._segment_id_value 105 : return new DCIInformationSegImpl(); 106 case org.objectweb.openccm.OpenCCM_DCI. 107 DCIManagerSessionComposition. 108 DCIDeploymentSeg._segment_id_value 109 : return new DCIDeploymentSegImpl(); 110 case org.objectweb.openccm.OpenCCM_DCI. 111 DCIManagerSessionComposition. 112 AssemblyManagerModelRegistrationSeg._segment_id_value 113 : return new AssemblyManagerModelRegistrationSegImpl(); 114 default:System.err.println("Invalid segment request"); 115 return null; 116 } 117 118 } 119 120 126 130 public static org.omg.Components.HomeExecutorBase 131 create_home() 132 { 133 return new DCIManagerHomeImpl(); 134 } 135 136 137 } 138 | Popular Tags |