@utilities.arguments_not_none<EOL><INDENT>def register_for_deleted_resource(self, resource_id):<DEDENT>
<EOL>if not MONGO_LISTENER.receivers[self._ns][self._receiver]['<STR_LIT:d>']:<EOL><INDENT>MONGO_LISTENER.receivers[self._ns][self._receiver]['<STR_LIT:d>'] = []<EOL><DEDENT>if isinstance(MONGO_LISTENER.receivers[self._ns][self._receiver]['<STR_LIT:d>'], list):<EOL><INDENT>MONGO_LISTENER.receivers[self._ns][self._receiver]['<STR_LIT:d>'].append(resource_id.get_identifier())<EOL><DEDENT>
Registers for notification of a deleted resource.

        ``ResourceReceiver.deletedResources()`` is invoked when the
        specified resource is deleted or removed from this bin.

        arg:    resource_id (osid.id.Id): the ``Id`` of the ``Resource``
                to monitor
        raise:  NullArgument - ``resource_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*