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 assigned ObjectIds only by the application.
  • PortableServer:: SYSTEM_ID— objects created with that POA are assigned ObjectIds only by the POA. If the POA also has the PERSISTENT LifespanPolicy, assigned ObjectIds 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.