Releases an object that was allocated using IceGrid::SessionPrx::allocateObjectById or IceGrid::SessionPrx::allocateObjectByType.
- Parameters
-
| id | The identity of the object to release. |
| response | The response callback. |
| exception | The exception callback. |
| current | The Current object of the incoming request. |
- Exceptions
-
| 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. |