001 package org.omg.PortableServer;
002
003
004 /**
005 * Generated from IDL interface "POA".
006 *
007 * @author JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007
008 * @version generated at Nov 6, 2011 12:20:27 AM
009 */
010
011 public interface POAOperations
012 {
013 /* constants */
014 /* operations */
015 org.omg.PortableServer.POA create_POA(java.lang.String adapter_name, org.omg.PortableServer.POAManager a_POAManager, org.omg.CORBA.Policy[] policies) throws org.omg.PortableServer.POAPackage.InvalidPolicy,org.omg.PortableServer.POAPackage.AdapterAlreadyExists;
016 org.omg.PortableServer.POA find_POA(java.lang.String adapter_name, boolean activate_it) throws org.omg.PortableServer.POAPackage.AdapterNonExistent;
017 void destroy(boolean etherealize_objects, boolean wait_for_completion);
018 org.omg.PortableServer.ThreadPolicy create_thread_policy(org.omg.PortableServer.ThreadPolicyValue value);
019 org.omg.PortableServer.LifespanPolicy create_lifespan_policy(org.omg.PortableServer.LifespanPolicyValue value);
020 org.omg.PortableServer.IdUniquenessPolicy create_id_uniqueness_policy(org.omg.PortableServer.IdUniquenessPolicyValue value);
021 org.omg.PortableServer.IdAssignmentPolicy create_id_assignment_policy(org.omg.PortableServer.IdAssignmentPolicyValue value);
022 org.omg.PortableServer.ImplicitActivationPolicy create_implicit_activation_policy(org.omg.PortableServer.ImplicitActivationPolicyValue value);
023 org.omg.PortableServer.ServantRetentionPolicy create_servant_retention_policy(org.omg.PortableServer.ServantRetentionPolicyValue value);
024 org.omg.PortableServer.RequestProcessingPolicy create_request_processing_policy(org.omg.PortableServer.RequestProcessingPolicyValue value);
025 java.lang.String the_name();
026 org.omg.PortableServer.POA the_parent();
027 org.omg.PortableServer.POA[] the_children();
028 org.omg.PortableServer.POAManager the_POAManager();
029 org.omg.PortableServer.AdapterActivator the_activator();
030 void the_activator(org.omg.PortableServer.AdapterActivator arg);
031 org.omg.PortableServer.ServantManager get_servant_manager() throws org.omg.PortableServer.POAPackage.WrongPolicy;
032 void set_servant_manager(org.omg.PortableServer.ServantManager imgr) throws org.omg.PortableServer.POAPackage.WrongPolicy;
033 org.omg.PortableServer.Servant get_servant() throws org.omg.PortableServer.POAPackage.WrongPolicy,org.omg.PortableServer.POAPackage.NoServant;
034 void set_servant(org.omg.PortableServer.Servant p_servant) throws org.omg.PortableServer.POAPackage.WrongPolicy;
035 byte[] activate_object(org.omg.PortableServer.Servant p_servant) throws org.omg.PortableServer.POAPackage.ServantAlreadyActive,org.omg.PortableServer.POAPackage.WrongPolicy;
036 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;
037 void deactivate_object(byte[] oid) throws org.omg.PortableServer.POAPackage.WrongPolicy,org.omg.PortableServer.POAPackage.ObjectNotActive;
038 org.omg.CORBA.Object create_reference(java.lang.String intf) throws org.omg.PortableServer.POAPackage.WrongPolicy;
039 org.omg.CORBA.Object create_reference_with_id(byte[] oid, java.lang.String intf);
040 byte[] servant_to_id(org.omg.PortableServer.Servant p_servant) throws org.omg.PortableServer.POAPackage.ServantNotActive,org.omg.PortableServer.POAPackage.WrongPolicy;
041 org.omg.CORBA.Object servant_to_reference(org.omg.PortableServer.Servant p_servant) throws org.omg.PortableServer.POAPackage.ServantNotActive,org.omg.PortableServer.POAPackage.WrongPolicy;
042 org.omg.PortableServer.Servant reference_to_servant(org.omg.CORBA.Object reference) throws org.omg.PortableServer.POAPackage.WrongAdapter,org.omg.PortableServer.POAPackage.WrongPolicy,org.omg.PortableServer.POAPackage.ObjectNotActive;
043 byte[] reference_to_id(org.omg.CORBA.Object reference) throws org.omg.PortableServer.POAPackage.WrongAdapter,org.omg.PortableServer.POAPackage.WrongPolicy;
044 org.omg.PortableServer.Servant id_to_servant(byte[] oid) throws org.omg.PortableServer.POAPackage.WrongPolicy,org.omg.PortableServer.POAPackage.ObjectNotActive;
045 org.omg.CORBA.Object id_to_reference(byte[] oid) throws org.omg.PortableServer.POAPackage.WrongPolicy,org.omg.PortableServer.POAPackage.ObjectNotActive;
046 byte[] id();
047 org.omg.PortableServer.POAManagerFactory the_POAManagerFactory();
048 }