Previous | Table of Contents | Next |
An operation is available in the ORB interface:
void register_initial_reference (in ObjectId id, in Object obj) raises (InvalidName);
If this operation is called with an id, “Y?, and an object, YY, then a subsequent call to ORB::resolve_initial_references
(“Y?) will return object YY.
InvalidName is raised if:
• this operation is called with an empty string id; or
• this operation is called with an id that is already registered, including the default names defined by OMG.
If the Object parameter is null, BAD_PARAM will be raised with a standard minor code of 27.
Parameters |
Description |
||||
id | The ID by which the initial reference will be known. | ||||
obj | The initial reference itself. |
See also Section 21.7.2.6, “register_initial_reference,? on page 21-53.