1 28 29 30 package org.objectweb.ccm.runtime; 31 32 import org.objectweb.corba.runtime.*; 33 34 39 public class Session2ContextImpl 40 extends org.omg.CORBA.LocalObject 41 implements org.omg.Components.Session2Context, org.coach.ECM.ECMContext 42 { 43 static private String _class_name = "SegSession2ContextImpl"; 45 private HomeSession2ContextImpl _delegate; 46 private org.omg.Components.LocalEvents _events; 47 private org.omg.Components.LocalReceptacles _receptacles; 48 49 public 51 Session2ContextImpl() 52 { 53 _delegate = null; 55 _events = null; 56 _receptacles = null; 57 } 58 59 protected 61 Session2ContextImpl(HomeSession2ContextImpl del, byte[] cid) 62 { 63 _delegate = del; 65 _events = new LocalEventsImpl(del.getLocalEvents(), cid); 66 _receptacles = new LocalReceptaclesImpl(del.getLocalReceptacles(), cid); 67 } 68 69 73 final public org.omg.Components.CCMHome 74 get_CCM_home() 75 { 76 return _delegate.get_CCM_home(); 77 } 78 79 83 final public org.omg.Components.HomeRegistrationLocal 84 get_home_registration() 85 { 86 return _delegate.get_home_registration(); 87 } 88 89 final public void 90 req_passivate() 91 throws org.omg.Components.IllegalState, 92 org.omg.Components.PolicyMismatch 93 { 94 _delegate.req_passivate(); 95 } 96 97 final public org.omg.Components.LocalEvents 98 get_events() 99 { 100 return _events; 101 } 102 103 final public org.omg.Components.LocalReceptacles 104 get_receptacles() 105 { 106 return _receptacles; 107 } 108 109 final public void 110 remove_component(org.omg.Components.CCMObject comp) 111 { 112 _delegate.remove_component(comp); 113 } 114 115 final public void 116 register_valuefactory(String repid, org.omg.CORBA.portable.ValueFactory vfact) 117 { 118 _delegate.register_valuefactory(repid, vfact); 119 } 120 121 final public org.omg.CORBA.Any 122 create_any() 123 { 124 return _delegate.create_any(); 125 } 126 127 131 final public org.omg.CORBA.Object 132 get_CCM_object() 133 throws org.omg.Components.IllegalState 134 { 135 return _delegate.get_CCM_object(); 136 } 137 138 142 final public byte[] 143 get_object_id() 144 throws org.omg.Components.IllegalState 145 { 146 return _delegate.get_object_id(); 147 } 148 149 final public org.omg.CORBA.Object 150 create_ref(String repid) 151 { 152 return _delegate.create_ref(repid); 153 } 154 155 final public org.omg.CORBA.Object 156 create_ref_with_id(byte[] id, String repid) 157 { 158 return _delegate.create_ref_with_id(id, repid); 159 } 160 161 final public byte[] 162 get_id_from_ref(org.omg.CORBA.Object ref) 163 throws org.omg.Components.BadComponentReference 164 { 165 return _delegate.get_id_from_ref(ref); 166 } 167 168 final public org.omg.CORBA.Object 169 create_with_new_target(String repid) 170 throws org.omg.Components.IllegalState 171 { 172 return _delegate.create_with_new_target(repid); 173 } 174 175 179 final public org.omg.CORBA.Object 180 get_service_internal(String sid, String siid) 181 throws org.coach.ECM.UnknownService, 182 org.coach.ECM.UnknownServiceInternal 183 { 184 return _delegate.get_service_internal(sid, siid); 185 } 186 } 187 | Popular Tags |