J-Integra® Espresso Programming Documentation (API)

POA.activate_object_with_id Method

This operation creates an object id and activates the object by inserting the object id and the corresponding servant into the active object map.

void activate_object_with_id(
 byte[] oid
 Servant servant
);

Parameters

oid
object id.
servant
Servant to be activated.

Return Value

none

Remarks

none

Exceptions

Exception TypeCondition
POAPackage.WrongPolicy An error occurs if the RETAIN policy is not specified.
POAPackage.ServantAlreadyActive An error occurs if the object with the specified servant is already in the active object map and the POA has the UNIQUE_ID policy.
POAPackage.ObjectAlreadyActive An error occurs if the object is already active.

See Also

POA Interface | POA Members | Ics Namespace