org.omg.PortableServer
Interface POAOperations

All Known Subinterfaces:
POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA

public interface POAOperations

A POA object manages the implementation of a collection of objects. The POA supports a name space for the objects, which are identified by Object Ids. A POA also provides a name space for POAs. A POA is created as a child of an existing POA, which forms a hierarchy starting with the root POA. A POA object must not be exported to other processes, or externalized with ORB::object_to_string.


Method Summary
 void activate_object_with_id sample code for org.omg.PortableServer.POAOperations.activate_object_with_id(byte[], org.omg.PortableServer.Servant) definition code for org.omg.PortableServer.POAOperations.activate_object_with_id(byte[], org.omg.PortableServer.Servant) (byte[] id, Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant  p_servant)
          This operation enters an association between the specified Object Id and the specified servant in the Active Object Map.
 byte[] activate_object sample code for org.omg.PortableServer.POAOperations.activate_object(org.omg.PortableServer.Servant) definition code for org.omg.PortableServer.POAOperations.activate_object(org.omg.PortableServer.Servant) (Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant  p_servant)
          This operation generates an Object Id and enters the Object Id and the specified servant in the Active Object Map.
 IdAssignmentPolicy sample code for org.omg.PortableServer.IdAssignmentPolicy definition code for org.omg.PortableServer.IdAssignmentPolicy create_id_assignment_policy sample code for org.omg.PortableServer.POAOperations.create_id_assignment_policy(org.omg.PortableServer.IdAssignmentPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_id_assignment_policy(org.omg.PortableServer.IdAssignmentPolicyValue) (IdAssignmentPolicyValue sample code for org.omg.PortableServer.IdAssignmentPolicyValue definition code for org.omg.PortableServer.IdAssignmentPolicyValue  value)
          These operations each return a reference to a policy object with the specified value.
 IdUniquenessPolicy sample code for org.omg.PortableServer.IdUniquenessPolicy definition code for org.omg.PortableServer.IdUniquenessPolicy create_id_uniqueness_policy sample code for org.omg.PortableServer.POAOperations.create_id_uniqueness_policy(org.omg.PortableServer.IdUniquenessPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_id_uniqueness_policy(org.omg.PortableServer.IdUniquenessPolicyValue) (IdUniquenessPolicyValue sample code for org.omg.PortableServer.IdUniquenessPolicyValue definition code for org.omg.PortableServer.IdUniquenessPolicyValue  value)
          These operations each return a reference to a policy object with the specified value.
 ImplicitActivationPolicy sample code for org.omg.PortableServer.ImplicitActivationPolicy definition code for org.omg.PortableServer.ImplicitActivationPolicy create_implicit_activation_policy sample code for org.omg.PortableServer.POAOperations.create_implicit_activation_policy(org.omg.PortableServer.ImplicitActivationPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_implicit_activation_policy(org.omg.PortableServer.ImplicitActivationPolicyValue) (ImplicitActivationPolicyValue sample code for org.omg.PortableServer.ImplicitActivationPolicyValue definition code for org.omg.PortableServer.ImplicitActivationPolicyValue  value)
          These operations each return a reference to a policy object with the specified value.
 LifespanPolicy sample code for org.omg.PortableServer.LifespanPolicy definition code for org.omg.PortableServer.LifespanPolicy create_lifespan_policy sample code for org.omg.PortableServer.POAOperations.create_lifespan_policy(org.omg.PortableServer.LifespanPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_lifespan_policy(org.omg.PortableServer.LifespanPolicyValue) (LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue definition code for org.omg.PortableServer.LifespanPolicyValue  value)
          These operations each return a reference to a policy object with the specified value.
 POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA create_POA sample code for org.omg.PortableServer.POAOperations.create_POA(java.lang.String, org.omg.PortableServer.POAManager, org.omg.CORBA.Policy[]) definition code for org.omg.PortableServer.POAOperations.create_POA(java.lang.String, org.omg.PortableServer.POAManager, org.omg.CORBA.Policy[]) (String sample code for java.lang.String definition code for java.lang.String  adapter_name, POAManager sample code for org.omg.PortableServer.POAManager definition code for org.omg.PortableServer.POAManager  a_POAManager, Policy sample code for org.omg.CORBA.Policy definition code for org.omg.CORBA.Policy [] policies)
          This operation creates a new POA as a child of the target POA.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object create_reference_with_id sample code for org.omg.PortableServer.POAOperations.create_reference_with_id(byte[], java.lang.String) definition code for org.omg.PortableServer.POAOperations.create_reference_with_id(byte[], java.lang.String) (byte[] oid, String sample code for java.lang.String definition code for java.lang.String  intf)
          This operation creates an object reference that encapsulates the specified Object Id and interface repository Id values.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object create_reference sample code for org.omg.PortableServer.POAOperations.create_reference(java.lang.String) definition code for org.omg.PortableServer.POAOperations.create_reference(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  intf)
          This operation creates an object reference that encapsulates a POA-generated Object Id value and the specified interface repository id.
 RequestProcessingPolicy sample code for org.omg.PortableServer.RequestProcessingPolicy definition code for org.omg.PortableServer.RequestProcessingPolicy create_request_processing_policy sample code for org.omg.PortableServer.POAOperations.create_request_processing_policy(org.omg.PortableServer.RequestProcessingPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_request_processing_policy(org.omg.PortableServer.RequestProcessingPolicyValue) (RequestProcessingPolicyValue sample code for org.omg.PortableServer.RequestProcessingPolicyValue definition code for org.omg.PortableServer.RequestProcessingPolicyValue  value)
          These operations each return a reference to a policy object with the specified value.
 ServantRetentionPolicy sample code for org.omg.PortableServer.ServantRetentionPolicy definition code for org.omg.PortableServer.ServantRetentionPolicy create_servant_retention_policy sample code for org.omg.PortableServer.POAOperations.create_servant_retention_policy(org.omg.PortableServer.ServantRetentionPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_servant_retention_policy(org.omg.PortableServer.ServantRetentionPolicyValue) (ServantRetentionPolicyValue sample code for org.omg.PortableServer.ServantRetentionPolicyValue definition code for org.omg.PortableServer.ServantRetentionPolicyValue  value)
          These operations each return a reference to a policy object with the specified value.
 ThreadPolicy sample code for org.omg.PortableServer.ThreadPolicy definition code for org.omg.PortableServer.ThreadPolicy create_thread_policy sample code for org.omg.PortableServer.POAOperations.create_thread_policy(org.omg.PortableServer.ThreadPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_thread_policy(org.omg.PortableServer.ThreadPolicyValue) (ThreadPolicyValue sample code for org.omg.PortableServer.ThreadPolicyValue definition code for org.omg.PortableServer.ThreadPolicyValue  value)
          These operations each return a reference to a policy object with the specified value.
 void deactivate_object sample code for org.omg.PortableServer.POAOperations.deactivate_object(byte[]) definition code for org.omg.PortableServer.POAOperations.deactivate_object(byte[]) (byte[] oid)
          This operation causes the ObjectId specified in the oid parameter to be deactivated.
 void destroy sample code for org.omg.PortableServer.POAOperations.destroy(boolean, boolean) definition code for org.omg.PortableServer.POAOperations.destroy(boolean, boolean) (boolean etherealize_objects, boolean wait_for_completion)
          This operation destroys the POA and all descendant POAs.
 POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA find_POA sample code for org.omg.PortableServer.POAOperations.find_POA(java.lang.String, boolean) definition code for org.omg.PortableServer.POAOperations.find_POA(java.lang.String, boolean) (String sample code for java.lang.String definition code for java.lang.String  adapter_name, boolean activate_it)
          If the target POA is the parent of a child POA with the specified name (relative to the target POA), that child POA is returned.
 ServantManager sample code for org.omg.PortableServer.ServantManager definition code for org.omg.PortableServer.ServantManager get_servant_manager sample code for org.omg.PortableServer.POAOperations.get_servant_manager() definition code for org.omg.PortableServer.POAOperations.get_servant_manager() ()
          If the ServantRetentionPolicy of the POA is RETAIN, then the ServantManager argument (imgr) shall support the ServantActivator interface.
 Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant get_servant sample code for org.omg.PortableServer.POAOperations.get_servant() definition code for org.omg.PortableServer.POAOperations.get_servant() ()
          This operation returns the default servant associated with the POA.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object id_to_reference sample code for org.omg.PortableServer.POAOperations.id_to_reference(byte[]) definition code for org.omg.PortableServer.POAOperations.id_to_reference(byte[]) (byte[] oid)
          If an object with the specified Object Id value is currently active, a reference encapsulating the information used to activate the object is returned.
 Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant id_to_servant sample code for org.omg.PortableServer.POAOperations.id_to_servant(byte[]) definition code for org.omg.PortableServer.POAOperations.id_to_servant(byte[]) (byte[] oid)
          If the POA has the RETAIN policy and the specified ObjectId is in the Active Object Map, this operation returns the servant associated with that object in the Active Object Map.
 byte[] id sample code for org.omg.PortableServer.POAOperations.id() definition code for org.omg.PortableServer.POAOperations.id() ()
          This returns the unique id of the POA in the process in which it is created.
 byte[] reference_to_id sample code for org.omg.PortableServer.POAOperations.reference_to_id(org.omg.CORBA.Object) definition code for org.omg.PortableServer.POAOperations.reference_to_id(org.omg.CORBA.Object) (Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  reference)
          This operation returns the Object Id value encapsulated by the specified reference.
 Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant reference_to_servant sample code for org.omg.PortableServer.POAOperations.reference_to_servant(org.omg.CORBA.Object) definition code for org.omg.PortableServer.POAOperations.reference_to_servant(org.omg.CORBA.Object) (Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  reference)
          If the POA has the RETAIN policy and the specified object is present in the Active Object Map, this operation returns the servant associated with that object in the Active Object Map.
 byte[] servant_to_id sample code for org.omg.PortableServer.POAOperations.servant_to_id(org.omg.PortableServer.Servant) definition code for org.omg.PortableServer.POAOperations.servant_to_id(org.omg.PortableServer.Servant) (Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant  p_servant)
          This operation has four possible behaviors.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object servant_to_reference sample code for org.omg.PortableServer.POAOperations.servant_to_reference(org.omg.PortableServer.Servant) definition code for org.omg.PortableServer.POAOperations.servant_to_reference(org.omg.PortableServer.Servant) (Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant  p_servant)
          This operation requires the RETAIN policy and either the UNIQUE_ID or IMPLICIT_ACTIVATION policies if invoked outside the context of an operation dispatched by this POA.
 void set_servant_manager sample code for org.omg.PortableServer.POAOperations.set_servant_manager(org.omg.PortableServer.ServantManager) definition code for org.omg.PortableServer.POAOperations.set_servant_manager(org.omg.PortableServer.ServantManager) (ServantManager sample code for org.omg.PortableServer.ServantManager definition code for org.omg.PortableServer.ServantManager  imgr)
          This operation sets the default servant manager associated with the POA.
 void set_servant sample code for org.omg.PortableServer.POAOperations.set_servant(org.omg.PortableServer.Servant) definition code for org.omg.PortableServer.POAOperations.set_servant(org.omg.PortableServer.Servant) (Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant  p_servant)
          This operation registers the specified servant with the POA as the default servant.
 AdapterActivator sample code for org.omg.PortableServer.AdapterActivator definition code for org.omg.PortableServer.AdapterActivator the_activator sample code for org.omg.PortableServer.POAOperations.the_activator() definition code for org.omg.PortableServer.POAOperations.the_activator() ()
          This attribute identifies the adapter activator associated with the POA.
 void the_activator sample code for org.omg.PortableServer.POAOperations.the_activator(org.omg.PortableServer.AdapterActivator) definition code for org.omg.PortableServer.POAOperations.the_activator(org.omg.PortableServer.AdapterActivator) (AdapterActivator sample code for org.omg.PortableServer.AdapterActivator definition code for org.omg.PortableServer.AdapterActivator  newThe_activator)
          This attribute identifies the adapter activator associated with the POA.
 POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA [] the_children sample code for org.omg.PortableServer.POAOperations.the_children() definition code for org.omg.PortableServer.POAOperations.the_children() ()
          This attribute identifies the current set of all child POAs of the POA.
 String sample code for java.lang.String definition code for java.lang.String the_name sample code for org.omg.PortableServer.POAOperations.the_name() definition code for org.omg.PortableServer.POAOperations.the_name() ()
          This attribute identifies the POA relative to its parent.
 POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA the_parent sample code for org.omg.PortableServer.POAOperations.the_parent() definition code for org.omg.PortableServer.POAOperations.the_parent() ()
          This attribute identifies the parent of the POA.
 POAManager sample code for org.omg.PortableServer.POAManager definition code for org.omg.PortableServer.POAManager the_POAManager sample code for org.omg.PortableServer.POAOperations.the_POAManager() definition code for org.omg.PortableServer.POAOperations.the_POAManager() ()
          This attribute identifies the POA manager associated with the POA.
 

Method Detail

create_POA sample code for org.omg.PortableServer.POAOperations.create_POA(java.lang.String, org.omg.PortableServer.POAManager, org.omg.CORBA.Policy[]) definition code for org.omg.PortableServer.POAOperations.create_POA(java.lang.String, org.omg.PortableServer.POAManager, org.omg.CORBA.Policy[])

POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA  create_POA(String sample code for java.lang.String definition code for java.lang.String  adapter_name,
               POAManager sample code for org.omg.PortableServer.POAManager definition code for org.omg.PortableServer.POAManager  a_POAManager,
               Policy sample code for org.omg.CORBA.Policy definition code for org.omg.CORBA.Policy [] policies)
               throws AdapterAlreadyExists sample code for org.omg.PortableServer.POAPackage.AdapterAlreadyExists definition code for org.omg.PortableServer.POAPackage.AdapterAlreadyExists ,
                      InvalidPolicy sample code for org.omg.PortableServer.POAPackage.InvalidPolicy definition code for org.omg.PortableServer.POAPackage.InvalidPolicy 
This operation creates a new POA as a child of the target POA.

Parameters:
adapter_name - identifies the new POA with respect to other POAs with the same parent POA.
a_POAManager - specifies the POA Manager to be associated with the new POA.
policies - specifies policy objects to be associated with the POA to control its behavior.
Throws:
AdapterAlreadyExists - specifies that the target POA already has a child POA with the specified name.
InvalidPolicy - is raised if any of the policy objects are not valid for the ORB, or are in conflict, or require an administrative action that has not been performed.

find_POA sample code for org.omg.PortableServer.POAOperations.find_POA(java.lang.String, boolean) definition code for org.omg.PortableServer.POAOperations.find_POA(java.lang.String, boolean)

POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA  find_POA(String sample code for java.lang.String definition code for java.lang.String  adapter_name,
             boolean activate_it)
             throws AdapterNonExistent sample code for org.omg.PortableServer.POAPackage.AdapterNonExistent definition code for org.omg.PortableServer.POAPackage.AdapterNonExistent 
If the target POA is the parent of a child POA with the specified name (relative to the target POA), that child POA is returned.

Parameters:
adapter_name - POA name to be found.
activate_it - if a POA with the specified name does not exist and the value of the activate_it parameter is TRUE, the target POA's AdapterActivator, if one exists, is invoked.
Returns:
POA if one exists or is activated by the AdapterActivator.
Throws:
AdapterNonExistent sample code for org.omg.PortableServer.POAPackage.AdapterNonExistent definition code for org.omg.PortableServer.POAPackage.AdapterNonExistent

destroy sample code for org.omg.PortableServer.POAOperations.destroy(boolean, boolean) definition code for org.omg.PortableServer.POAOperations.destroy(boolean, boolean)

void destroy(boolean etherealize_objects,
             boolean wait_for_completion)
This operation destroys the POA and all descendant POAs. All descendant POAs are destroyed (recursively) before the destruction of the containing POA. The POA so destroyed (that is, the POA with its name) may be re-created later in the same process.

Parameters:
etherealize_objects - flag to indicate whether etherealize operation on servant manager needs to be called.
wait_for_completion - flag to indicate whether POA and its children need to wait for active requests and the etherealization to complete.

create_thread_policy sample code for org.omg.PortableServer.POAOperations.create_thread_policy(org.omg.PortableServer.ThreadPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_thread_policy(org.omg.PortableServer.ThreadPolicyValue)

ThreadPolicy sample code for org.omg.PortableServer.ThreadPolicy definition code for org.omg.PortableServer.ThreadPolicy  create_thread_policy(ThreadPolicyValue sample code for org.omg.PortableServer.ThreadPolicyValue definition code for org.omg.PortableServer.ThreadPolicyValue  value)
These operations each return a reference to a policy object with the specified value.

Parameters:
value - policy type
Returns:
ThreadPolcy Object

create_lifespan_policy sample code for org.omg.PortableServer.POAOperations.create_lifespan_policy(org.omg.PortableServer.LifespanPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_lifespan_policy(org.omg.PortableServer.LifespanPolicyValue)

LifespanPolicy sample code for org.omg.PortableServer.LifespanPolicy definition code for org.omg.PortableServer.LifespanPolicy  create_lifespan_policy(LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue definition code for org.omg.PortableServer.LifespanPolicyValue  value)
These operations each return a reference to a policy object with the specified value.

Parameters:
value - policy type
Returns:
LifespanPolicy Object.

create_id_uniqueness_policy sample code for org.omg.PortableServer.POAOperations.create_id_uniqueness_policy(org.omg.PortableServer.IdUniquenessPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_id_uniqueness_policy(org.omg.PortableServer.IdUniquenessPolicyValue)

IdUniquenessPolicy sample code for org.omg.PortableServer.IdUniquenessPolicy definition code for org.omg.PortableServer.IdUniquenessPolicy  create_id_uniqueness_policy(IdUniquenessPolicyValue sample code for org.omg.PortableServer.IdUniquenessPolicyValue definition code for org.omg.PortableServer.IdUniquenessPolicyValue  value)
These operations each return a reference to a policy object with the specified value.

Parameters:
value - policy type
Returns:
IdUniquenessPolicy Object.

create_id_assignment_policy sample code for org.omg.PortableServer.POAOperations.create_id_assignment_policy(org.omg.PortableServer.IdAssignmentPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_id_assignment_policy(org.omg.PortableServer.IdAssignmentPolicyValue)

IdAssignmentPolicy sample code for org.omg.PortableServer.IdAssignmentPolicy definition code for org.omg.PortableServer.IdAssignmentPolicy  create_id_assignment_policy(IdAssignmentPolicyValue sample code for org.omg.PortableServer.IdAssignmentPolicyValue definition code for org.omg.PortableServer.IdAssignmentPolicyValue  value)
These operations each return a reference to a policy object with the specified value.

Parameters:
value - policy type
Returns:
IdAssignmentPolicy Object.

create_implicit_activation_policy sample code for org.omg.PortableServer.POAOperations.create_implicit_activation_policy(org.omg.PortableServer.ImplicitActivationPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_implicit_activation_policy(org.omg.PortableServer.ImplicitActivationPolicyValue)

ImplicitActivationPolicy sample code for org.omg.PortableServer.ImplicitActivationPolicy definition code for org.omg.PortableServer.ImplicitActivationPolicy  create_implicit_activation_policy(ImplicitActivationPolicyValue sample code for org.omg.PortableServer.ImplicitActivationPolicyValue definition code for org.omg.PortableServer.ImplicitActivationPolicyValue  value)
These operations each return a reference to a policy object with the specified value.

Parameters:
value - policy type
Returns:
ImplicitActivationPolicy Object.

create_servant_retention_policy sample code for org.omg.PortableServer.POAOperations.create_servant_retention_policy(org.omg.PortableServer.ServantRetentionPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_servant_retention_policy(org.omg.PortableServer.ServantRetentionPolicyValue)

ServantRetentionPolicy sample code for org.omg.PortableServer.ServantRetentionPolicy definition code for org.omg.PortableServer.ServantRetentionPolicy  create_servant_retention_policy(ServantRetentionPolicyValue sample code for org.omg.PortableServer.ServantRetentionPolicyValue definition code for org.omg.PortableServer.ServantRetentionPolicyValue  value)
These operations each return a reference to a policy object with the specified value.

Parameters:
value - policy type
Returns:
ServantRetentionPolicy Object.

create_request_processing_policy sample code for org.omg.PortableServer.POAOperations.create_request_processing_policy(org.omg.PortableServer.RequestProcessingPolicyValue) definition code for org.omg.PortableServer.POAOperations.create_request_processing_policy(org.omg.PortableServer.RequestProcessingPolicyValue)

RequestProcessingPolicy sample code for org.omg.PortableServer.RequestProcessingPolicy definition code for org.omg.PortableServer.RequestProcessingPolicy  create_request_processing_policy(RequestProcessingPolicyValue sample code for org.omg.PortableServer.RequestProcessingPolicyValue definition code for org.omg.PortableServer.RequestProcessingPolicyValue  value)
These operations each return a reference to a policy object with the specified value.

Parameters:
value - policy type
Returns:
RequestProcessingPolicy Object.

the_name sample code for org.omg.PortableServer.POAOperations.the_name() definition code for org.omg.PortableServer.POAOperations.the_name()

String sample code for java.lang.String definition code for java.lang.String  the_name()
This attribute identifies the POA relative to its parent. This name is assigned when the POA is created.


the_parent sample code for org.omg.PortableServer.POAOperations.the_parent() definition code for org.omg.PortableServer.POAOperations.the_parent()

POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA  the_parent()
This attribute identifies the parent of the POA. The parent of the root POA is null.


the_children sample code for org.omg.PortableServer.POAOperations.the_children() definition code for org.omg.PortableServer.POAOperations.the_children()

POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA [] the_children()
This attribute identifies the current set of all child POAs of the POA. The set of child POAs includes only the POA's immediate children, and not their descendants.


the_POAManager sample code for org.omg.PortableServer.POAOperations.the_POAManager() definition code for org.omg.PortableServer.POAOperations.the_POAManager()

POAManager sample code for org.omg.PortableServer.POAManager definition code for org.omg.PortableServer.POAManager  the_POAManager()
This attribute identifies the POA manager associated with the POA.


the_activator sample code for org.omg.PortableServer.POAOperations.the_activator() definition code for org.omg.PortableServer.POAOperations.the_activator()

AdapterActivator sample code for org.omg.PortableServer.AdapterActivator definition code for org.omg.PortableServer.AdapterActivator  the_activator()
This attribute identifies the adapter activator associated with the POA.


the_activator sample code for org.omg.PortableServer.POAOperations.the_activator(org.omg.PortableServer.AdapterActivator) definition code for org.omg.PortableServer.POAOperations.the_activator(org.omg.PortableServer.AdapterActivator)

void the_activator(AdapterActivator sample code for org.omg.PortableServer.AdapterActivator definition code for org.omg.PortableServer.AdapterActivator  newThe_activator)
This attribute identifies the adapter activator associated with the POA.


get_servant_manager sample code for org.omg.PortableServer.POAOperations.get_servant_manager() definition code for org.omg.PortableServer.POAOperations.get_servant_manager()

ServantManager sample code for org.omg.PortableServer.ServantManager definition code for org.omg.PortableServer.ServantManager  get_servant_manager()
                                   throws WrongPolicy sample code for org.omg.PortableServer.POAPackage.WrongPolicy definition code for org.omg.PortableServer.POAPackage.WrongPolicy 
If the ServantRetentionPolicy of the POA is RETAIN, then the ServantManager argument (imgr) shall support the ServantActivator interface. For a NON_RETAIN policy, the ServantManager shall support the ServantLocator interface. If the argument is nil, or does not support the required interface, then the OBJ_ADAPTER exception is raised.

Returns:
ServantManager associated with a POA or null if none exists.
Throws:
WrongPolicy - raised if the USE_SERVANT_MANAGER policy is not specified.

set_servant_manager sample code for org.omg.PortableServer.POAOperations.set_servant_manager(org.omg.PortableServer.ServantManager) definition code for org.omg.PortableServer.POAOperations.set_servant_manager(org.omg.PortableServer.ServantManager)

void set_servant_manager(ServantManager sample code for org.omg.PortableServer.ServantManager definition code for org.omg.PortableServer.ServantManager  imgr)
                         throws WrongPolicy sample code for org.omg.PortableServer.POAPackage.WrongPolicy definition code for org.omg.PortableServer.POAPackage.WrongPolicy 
This operation sets the default servant manager associated with the POA. This operation may only be invoked once after a POA has been created. Attempting to set the servant manager after one has already been set will result in the BAD_INV_ORDER exception being raised.

Parameters:
imgr - servant manager to be used as a default.
Throws:
WrongPolicy - raised if the USE_SERVANT_MANAGER policy is not specified.

get_servant sample code for org.omg.PortableServer.POAOperations.get_servant() definition code for org.omg.PortableServer.POAOperations.get_servant()

Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant  get_servant()
                    throws NoServant sample code for org.omg.PortableServer.POAPackage.NoServant definition code for org.omg.PortableServer.POAPackage.NoServant ,
                           WrongPolicy sample code for org.omg.PortableServer.POAPackage.WrongPolicy definition code for org.omg.PortableServer.POAPackage.WrongPolicy 
This operation returns the default servant associated with the POA.

Returns:
p_servant default servant associated with a POA.
Throws:
NoServant - rai