Adds the Admin object with all its facets to the provided object adapter.
If Ice.Admin.ServerId is set and the provided object adapter has a Locator, createAdmin registers the Admin's Process facet with the Locator's LocatorRegistry.
- Parameters
-
adminAdapter | The object adapter used to host the Admin object; if it is null and Ice.Admin.Endpoints is set, this function uses the Ice.Admin object adapter, after creating and activating this adapter. |
adminId | The identity of the Admin object. |
- Returns
- A proxy to the main ("") facet of the Admin object.
- Exceptions
-
- See also
- getAdmin