Adds an object to the object registry.
IceGrid gets the object type by calling ice_id on obj
. The object must be reachable.
- Parameters
-
obj | A proxy to the object. This proxy is never null. |
- Exceptions
-
ObjectExistsException | Thrown when the object is already registered. |
DeploymentException | Thrown when the object can't be added. |