1 package org.omg.PortableServer; 2 3 4 10 11 12 22 public interface POAOperations 23 { 24 25 43 org.omg.PortableServer.POA create_POA (String adapter_name, org.omg.PortableServer.POAManager a_POAManager, org.omg.CORBA.Policy [] policies) throws org.omg.PortableServer.POAPackage.AdapterAlreadyExists , org.omg.PortableServer.POAPackage.InvalidPolicy ; 44 45 61 org.omg.PortableServer.POA find_POA (String adapter_name, boolean activate_it) throws org.omg.PortableServer.POAPackage.AdapterNonExistent ; 62 63 77 void destroy (boolean etherealize_objects, boolean wait_for_completion); 78 79 85 org.omg.PortableServer.ThreadPolicy create_thread_policy (org.omg.PortableServer.ThreadPolicyValue value); 86 87 93 org.omg.PortableServer.LifespanPolicy create_lifespan_policy (org.omg.PortableServer.LifespanPolicyValue value); 94 95 101 org.omg.PortableServer.IdUniquenessPolicy create_id_uniqueness_policy (org.omg.PortableServer.IdUniquenessPolicyValue value); 102 103 109 org.omg.PortableServer.IdAssignmentPolicy create_id_assignment_policy (org.omg.PortableServer.IdAssignmentPolicyValue value); 110 111 117 org.omg.PortableServer.ImplicitActivationPolicy create_implicit_activation_policy (org.omg.PortableServer.ImplicitActivationPolicyValue value); 118 119 125 org.omg.PortableServer.ServantRetentionPolicy create_servant_retention_policy (org.omg.PortableServer.ServantRetentionPolicyValue value); 126 127 133 org.omg.PortableServer.RequestProcessingPolicy create_request_processing_policy (org.omg.PortableServer.RequestProcessingPolicyValue value); 134 135 139 String the_name (); 140 141 145 org.omg.PortableServer.POA the_parent (); 146 147 153 org.omg.PortableServer.POA [] the_children (); 154 155 159 org.omg.PortableServer.POAManager the_POAManager (); 160 161 165 org.omg.PortableServer.AdapterActivator the_activator (); 166 167 171 void the_activator (org.omg.PortableServer.AdapterActivator newThe_activator); 172 173 187 org.omg.PortableServer.ServantManager get_servant_manager () throws org.omg.PortableServer.POAPackage.WrongPolicy ; 188 189 201 void set_servant_manager (org.omg.PortableServer.ServantManager imgr) throws org.omg.PortableServer.POAPackage.WrongPolicy ; 202 203 212 org.omg.PortableServer.Servant get_servant () throws org.omg.PortableServer.POAPackage.NoServant , org.omg.PortableServer.POAPackage.WrongPolicy ; 213 214 224 void set_servant (org.omg.PortableServer.Servant p_servant) throws org.omg.PortableServer.POAPackage.WrongPolicy ; 225 226 240 byte[] activate_object (org.omg.PortableServer.Servant p_servant) throws org.omg.PortableServer.POAPackage.ServantAlreadyActive , org.omg.PortableServer.POAPackage.WrongPolicy ; 241 242 257 void activate_object_with_id (byte[] id, org.omg.PortableServer.Servant p_servant) throws org.omg.PortableServer.POAPackage.ServantAlreadyActive , org.omg.PortableServer.POAPackage.ObjectAlreadyActive , org.omg.PortableServer.POAPackage.WrongPolicy ; 258 259 275 void deactivate_object (byte[] oid) throws org.omg.PortableServer.POAPackage.ObjectNotActive , org.omg.PortableServer.POAPackage.WrongPolicy ; 276 277 287 org.omg.CORBA.Object create_reference (String intf) throws org.omg.PortableServer.POAPackage.WrongPolicy ; 288 289 306 org.omg.CORBA.Object create_reference_with_id (byte[] oid, String intf); 307 308 335 byte[] servant_to_id (org.omg.PortableServer.Servant p_servant) throws org.omg.PortableServer.POAPackage.ServantNotActive , org.omg.PortableServer.POAPackage.WrongPolicy ; 336 337 369 org.omg.CORBA.Object servant_to_reference (org.omg.PortableServer.Servant p_servant) throws org.omg.PortableServer.POAPackage.ServantNotActive , org.omg.PortableServer.POAPackage.WrongPolicy ; 370 371 395 org.omg.PortableServer.Servant reference_to_servant (org.omg.CORBA.Object reference) throws org.omg.PortableServer.POAPackage.ObjectNotActive , org.omg.PortableServer.POAPackage.WrongPolicy , org.omg.PortableServer.POAPackage.WrongAdapter ; 396 397 415 byte[] reference_to_id (org.omg.CORBA.Object reference) throws org.omg.PortableServer.POAPackage.WrongAdapter , org.omg.PortableServer.POAPackage.WrongPolicy ; 416 417 438 org.omg.PortableServer.Servant id_to_servant (byte[] oid) throws org.omg.PortableServer.POAPackage.ObjectNotActive , org.omg.PortableServer.POAPackage.WrongPolicy ; 439 440 454 org.omg.CORBA.Object id_to_reference (byte[] oid) throws org.omg.PortableServer.POAPackage.ObjectNotActive , org.omg.PortableServer.POAPackage.WrongPolicy ; 455 456 466 byte[] id (); 467 } | Popular Tags |