1 26 27 package org.objectweb.openccm.Containers; 28 29 import org.objectweb.openccm.Containers.MetaInformation.HomeInstance; 30 31 38 39 public class HomeServantImpl 40 extends org.omg.CORBA.LocalObject 41 implements HomeServant 42 { 43 49 52 protected org.objectweb.openccm.Containers.SystemConfiguration the_home_configuration_; 53 54 57 protected org.objectweb.openccm.Containers.SystemConfiguration the_component_configuration_; 58 59 62 protected org.objectweb.openccm.Containers.SystemHomeFinder the_home_finder_; 63 64 67 68 protected HomeInstance the_home_instance_; 69 70 73 74 protected org.objectweb.openccm.Containers.PCA the_PCA_; 75 76 79 protected HomeExecutorBase the_home_executor_; 80 81 84 protected org.omg.Components.CCMHome the_home_ref_; 85 86 89 protected org.omg.Components.Cookie the_cookie_; 90 91 94 protected org.objectweb.openccm.Deployment.ContainerBase the_container_base_; 95 96 102 106 public 107 HomeServantImpl() 108 { 109 the_home_configuration_ = null; 110 the_component_configuration_ = null; 111 the_home_finder_ = null; 112 the_PCA_ = null; 113 the_home_executor_ = null; 114 the_home_ref_ = null; 115 the_cookie_ = null; 116 the_container_base_ = null; 117 the_home_instance_ = null; 118 } 119 120 126 132 133 137 public HomeInstance 138 the_home_instance() 139 { 140 return the_home_instance_; 141 } 142 143 147 public void 148 the_home_instance(HomeInstance value) 149 { 150 the_home_instance_= value; 151 } 152 158 public org.objectweb.openccm.Containers.SystemConfiguration 159 the_home_configuration() 160 { 161 return the_home_configuration_; 162 } 163 164 170 public org.objectweb.openccm.Containers.SystemConfiguration 171 the_component_configuration() 172 { 173 return the_component_configuration_; 174 } 175 176 182 public org.objectweb.openccm.Containers.SystemHomeFinder 183 the_home_finder() 184 { 185 return the_home_finder_; 186 } 187 188 194 public org.objectweb.openccm.Containers.PCA 195 the_PCA() 196 { 197 return the_PCA_; 198 } 199 200 206 public HomeExecutorBase 207 the_home_executor() 208 { 209 return the_home_executor_; 210 } 211 212 218 public org.omg.Components.CCMHome 219 the_home_ref() 220 { 221 return the_home_ref_; 222 } 223 224 230 public org.omg.Components.Cookie 231 the_registration_info() 232 { 233 return the_cookie_; 234 } 235 236 239 public void 240 the_container_base(org.objectweb.openccm.Deployment.ContainerBase container) 241 { 242 the_container_base_ = container; 243 } 244 245 248 public org.objectweb.openccm.Deployment.ContainerBase 249 the_container_base() 250 { 251 return the_container_base_; 252 } 253 254 260 263 public void 264 the_home_configuration(org.objectweb.openccm.Containers.SystemConfiguration config) 265 { 266 the_home_configuration_ = config; 267 } 268 269 272 public void 273 the_component_configuration(org.objectweb.openccm.Containers.SystemConfiguration config) 274 { 275 the_component_configuration_ = config; 276 } 277 278 281 public void 282 the_home_finder(org.objectweb.openccm.Containers.SystemHomeFinder finder) 283 { 284 the_home_finder_ = finder; 285 } 286 287 290 public void 291 the_PCA(PCA pca) 292 { 293 the_PCA_ = pca; 294 } 295 296 299 public void 300 the_home_executor(HomeExecutorBase home) 301 { 302 the_home_executor_ = home; 303 } 304 305 308 public void 309 the_home_ref(org.omg.Components.CCMHome ref) 310 { 311 the_home_ref_ = ref; 312 } 313 314 317 public void 318 the_registration_info(org.omg.Components.Cookie cookie) 319 { 320 the_cookie_ = cookie; 321 } 322 323 326 public void 327 remove() 328 throws org.omg.Components.RemoveFailure 329 { 330 the_container_base().get_rootPCA().deactivate_home(this); 331 338 339 the_container_base().unregister_home(the_home_ref()); 341 342 } 343 } 344 | Popular Tags |