![]() |
Before a CORBA server can be used, the server's implementation definition must be registered in the Implementation Repository, which is a persistent data store of ImplementationDef objects, each representing a logical CORBA server that has been registered in the repository.
An ImplementationDef object's attributes describe a server's ID, user-assigned alias, host name, program pathname, the class of its servant object, whether or not it is multi-threaded, and so forth. Implementation IDs uniquely identify servers within the Implementation Repository, and are used as keys into the Implementation Repository when retrieving the ImplementationDef for a particular server.
When a server is initialized, it must retrieve a copy of its ImplementationDef, and keep it in a global variable.
You can use the regimpl utility to register a CORBA server's implementation in the Implementation Repository, as described in Storing a logical definition for a CORBA server in the system implementation repository.
Related tasks... | |
Storing a logical definition for a CORBA server in the system implementation repository | |
Related concepts... | |
Parent: The CORBA server programming model | |
The CORBA programming model | |
Related reference... | |
The implementation registration utility (regimpl) | |