def getBeforeCommitHooks():
    """Return iterable producing the registered `addBeforeCommitHook` hooks.

        A triple ``(hook, args, kws)`` is produced for each registered hook.
        The hooks are produced in the order in which they would be invoked
        by a top-level transaction commit.
        """
