| void IceGrid::AdminPrx::addObject | ( | const std::optional< Ice::ObjectPrx > & | obj, |
| const Ice::Context & | context = Ice::noExplicitContext ) const |
Adds an object to the object registry.
IceGrid gets the object type by calling ice_id on obj. The object must be reachable.
| obj | A proxy to the object. This proxy is never null. |
| context | The request context. |
| IceGrid::DeploymentException | Thrown when the object can't be added. |
| IceGrid::ObjectExistsException | Thrown when the object is already registered. |