14.16.2.2 Description
Objects with the IdAssignmentPolicy
interface are obtained using the
POA::create_id_assignment_policy
operation and are
passed to the POA::create_POA
operation to specify
whether ObjectIds
in the created POA are generated by
the application or by the ORB. The following values can be
supplied:
-
USER_ID
— objects created with that POA are assignedObjectIds
only by the application. -
SYSTEM_ID
— objects created with that POA are assignedObjectIds
only by the POA. If the POA also has thePERSISTENT
policy, 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::IdAssignmentPolicy