void IceGrid::AdminPrx::addObjectWithType | ( | const std::optional< Ice::ObjectPrx > & | obj, |
std::string_view | type, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Adds an object to the object registry and explicitly specifies its type.
obj | The object to be added to the registry. The proxy is never null. |
type | The type name. |
context | The request context. |
IceGrid::DeploymentException | Thrown when the application deployment failed. |
IceGrid::ObjectExistsException | Thrown when the object is already registered. |