@utilities.arguments_not_none<EOL><INDENT>def get_bins_by_resource(self, resource_id):<DEDENT>
<EOL>mgr = self._get_provider_manager('<STR_LIT>', local=True)<EOL>lookup_session = mgr.get_bin_lookup_session(proxy=self._proxy)<EOL>return lookup_session.get_bins_by_ids(<EOL>self.get_bin_ids_by_resource(resource_id))<EOL>
Gets the list of ``Bin`` objects mapped to a ``Resource``.

        arg:    resource_id (osid.id.Id): ``Id`` of a ``Resource``
        return: (osid.resource.BinList) - list of bins
        raise:  NotFound - ``resource_id`` is not found
        raise:  NullArgument - ``resource_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*