'Return a list of objects for the given container.
:param container: Container instance.
:type container: :class:`Container`
:param ex_prefix: Only return objects starting with ex_prefix
:type ex_prefix: ``str``
:return: A list of Object instances.
:rtype: ``list`` of :class:`Object`'

def list_container_objects(self, container, ex_prefix=None):

    return list(self.iterate_container_objects(container, ex_prefix=ex_prefix))
