1 26 27 package org.objectweb.ccm.runtime.cif.lib; 28 29 import org.omg.Components.EnterpriseComponent; 30 import org.omg.Components.ExecutorSegmentBase; 31 import org.objectweb.ccm.runtime.cif.api.ComponentSegment; 32 33 43 44 public abstract class HomeBase 45 extends org.objectweb.corba.util.LocalObjectBase 46 implements org.objectweb.ccm.runtime.cif.api.SegmentHome 47 { 48 54 60 61 public 62 HomeBase() 63 { 64 } 65 66 72 77 public EnterpriseComponent 78 create_enterprise_component() 79 { 80 getLogger().trace(this, "Creating executor segment 0"); 81 ExecutorSegmentBase esb = create_executor_segment(0); 82 83 getLogger().trace(this, "Setting segment home"); 84 ComponentSegment cs = (ComponentSegment)esb; 85 cs.set_segment_home(this); 86 87 return cs; 88 } 89 } 90 | Popular Tags |