CORBA Programming Reference
Acquires CORBA object references.
CORBA::Object_ptr resolve_initial_references(
const char* id);
throws Tobj::InvalidName,
org.omg.CORBA.SystemException;
"FactoryFinder"
"InterfaceRepository"
"NameService"
"NotificationService"
"SecurityCurrent"
"TransactionCurrent"
"Tobj_SimpleEventsService"
Raised if id
is not one of the names specified above. On the server, resolve_initial_references
also raises Tobj::InvalidName
when SecurityCurrent is passed.
This C++ member function (or Java method) acquires CORBA object references for the FactoryFinder, SecurityCurrent, TransactionCurrent, NotificationService, Tobj_SimpleEventsService, and InterfaceRepository objects. For the specific object reference, invoke the _narrow
function. For example, for FactoryFinder, invoke Tobj::FactoryFinder::_narrow
.
Table 4-2 shows the object reference that is returned for each type id
.