| void IceGrid::SessionPrx::releaseObject | ( | const ::Ice::Identity & | id, |
| const Ice::Context & | context = Ice::noExplicitContext ) const |
Releases an object that was allocated using IceGrid::SessionPrx::allocateObjectById or IceGrid::SessionPrx::allocateObjectByType.
| id | The identity of the object to release. |
| context | The request context. |
| IceGrid::AllocationException | Thrown when the object can't be released. This can happen when the object is not allocatable or is not allocated by this session. |
| IceGrid::ObjectNotRegisteredException | Thrown when an object with the given identity is not registered with the registry. |