J-Integra® Espresso Programming Documentation (API)

POA.activate_object 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.

byte[] activate_object(
 Servant servant
);

Parameters

servant
Servant to be activated.

Return Value

Object id associated with the servant.

Remarks

none

Exceptions

Exception TypeCondition
POAPackage.WrongPolicy An error occurs if the SYSTEM_ID and RETAIN policy are 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.

See Also

POA Interface | POA Members | Ics Namespace