14.13.3.4 Description
The POA::create_id_assignment_policy
operation obtains objects with the IdAssignmentPolicy
interface. When passed to the POA::create_POA
operation, this policy specifies whether ObjectIds
in the created POA are generated by the application or by the ORB. The following values can be supplied:
-
PortableServer::
USER_ID
— objects created with that POA are assignedObjectIds
only by the application. -
PortableServer::
SYSTEM_ID
— objects created with that POA are assignedObjectIds
only by the POA. If the POA also has thePERSISTENT
LifespanPolicy
, assignedObjectIds
must be unique across all instantiations of the same POA.
If no IdAssignmentPolicy
is specified at POA
creation, the default is SYSTEM_ID
.
Note:
This function is supported only for a joint client/server.Parent topic: PortableServer::POA::create_id_assignment_policy