1 26 27 package org.objectweb.openccm.Deployment; 28 29 38 39 public class ContainerImpl 40 extends org.omg.Components.Deployment.ContainerPOA 41 { 42 48 protected ContainerBase the_container_; 49 50 56 64 public 65 ContainerImpl(org.omg.Components.ConfigValue[] config, 66 68 ComponentServerImpl component_server) 69 throws org.omg.Components.CreateFailure, 70 org.omg.Components.Deployment.InvalidConfiguration 71 { 72 the_container_ = new ContainerBase (config, component_server, 73 TheComponentInstallation.getComponentInstallation()) ; 74 } 75 76 77 86 public 87 ContainerImpl(org.omg.Components.ConfigValue[] config, 88 90 ComponentServerImpl component_server, 91 org.omg.Components.Deployment.ComponentInstallation c_i) 92 throws org.omg.Components.CreateFailure, 93 org.omg.Components.Deployment.InvalidConfiguration 94 { 95 the_container_ = new ContainerBase (config, component_server,c_i) ; 96 } 97 98 99 105 111 public org.objectweb.openccm.Deployment.ContainerBase 112 _delegate() 113 { 114 return the_container_; 115 } 116 117 118 public void 119 add_listener (org.objectweb.openccm.Deployment.listener.ContainerListener listener) 120 { 121 the_container_.add_listener (listener); 122 } 123 124 127 public org.objectweb.openccm.Containers.SystemHome 128 create_system_home(java.lang.String implUUID, 129 java.lang.String alias, 130 java.lang.String entrypt) 131 throws org.objectweb.openccm.Containers.CreationFailed 132 { 133 return the_container_.create_system_home(implUUID, alias, entrypt); 134 } 135 136 139 public org.objectweb.openccm.Containers.SystemHome 140 find_system_home(java.lang.String alias) 141 throws org.objectweb.openccm.Containers.HomeNotFound 142 { 143 return the_container_.find_system_home(alias); 144 } 145 146 149 public void 150 set_container_configuration(org.objectweb.openccm.Containers.SystemConfiguration config) 151 { 152 the_container_.set_container_configuration (config); 153 } 154 155 158 public org.objectweb.openccm.Containers.SystemConfiguration 159 get_container_configuration() 160 { 161 return the_container_.get_container_configuration () ; 162 } 163 164 167 public void 168 set_home_configuration(org.objectweb.openccm.Containers.SystemConfiguration config) 169 { 170 the_container_.set_home_configuration (config); 171 } 172 173 176 public org.objectweb.openccm.Containers.SystemConfiguration 177 get_home_configuration() 178 { 179 return the_container_.get_home_configuration () ; 180 } 181 182 185 public void 186 set_component_configuration(org.objectweb.openccm.Containers.SystemConfiguration config) 187 { 188 the_container_.set_component_configuration (config); 189 } 190 191 194 public org.objectweb.openccm.Containers.SystemConfiguration 195 get_component_configuration() 196 { 197 return the_container_.get_component_configuration () ; 198 } 199 200 206 213 public org.omg.Components.ConfigValue[] 214 configuration() 215 { 216 return the_container_.configuration () ; 217 } 218 219 225 public org.omg.Components.Deployment.ComponentServer 226 get_component_server() 227 { 228 return the_container_.get_component_server(); 229 } 230 231 248 public org.omg.Components.CCMHome 249 install_home(java.lang.String uuid, 250 java.lang.String entrypt, 251 org.omg.Components.ConfigValue[] config) 252 throws org.omg.Components.Deployment.UnknownImplId, 253 org.omg.Components.Deployment.ImplEntryPointNotFound, 254 org.omg.Components.Deployment.InstallationFailure, 255 org.omg.Components.Deployment.InvalidConfiguration 256 { 257 return the_container_.install_home (uuid, entrypt, config); 258 } 259 260 266 public void 267 remove_home(org.omg.Components.CCMHome ref) 268 throws org.omg.Components.RemoveFailure 269 { 270 the_container_.remove_home (ref); 271 } 272 273 279 public org.omg.Components.CCMHome[] 280 get_homes() 281 { 282 return the_container_.get_homes (); 283 } 284 285 288 public void 289 the_container_ref(org.omg.Components.Deployment.Container container) 290 { 291 the_container_.the_container_ref(container); 292 } 293 294 295 301 public void 302 remove() 303 throws org.omg.Components.RemoveFailure 304 { 305 the_container_.remove (); 306 } 307 } 308 | Popular Tags |