Patent ID: 7730487

Claim:
At a computer system including a coordinating transaction manager that implements transaction based processing, a method for synchronizing transaction ambient state with a subordinate transaction manager, the method comprising: an act of establishing transaction ambient state for an application initiated transaction, the transaction ambient state being in a format that is compatible with the manager; an act of sending a pointer to an ambient state delegate to the subordinate transaction manager, the ambient state delegate for providing the transaction ambient state in a format that is compatible with the subordinate transaction manager such that the application is relieved from having to provide transaction ambient state to the subordinate transaction manager; an act of receiving a request to invoke the ambient state delegate from the subordinate transaction manager, the request sent from the subordinate transaction manager in response to the subordinate transaction manager receiving an operation that is part of the transaction; an act of invoking the ambient state delegate to format the transaction ambient state for the subordinate transaction manager; and an act of sending the formatted transaction ambient state to the subordinate transaction manager such that the subordinate transaction manager can appropriately process the operation within a scope of the transaction.