Collaboration diagram for Transactions and Transactional Objects:
When Transaction goes out of scope it informs subjects of transaction that they are free of the transaction context.
{{ File f1, f2; Transaction tr; f1.SetTransaction(tr); f2.SetTransaction(tr); ...... // do something with f1,f2 tr.Commit(); }} <---- here transaction goes out of scope and all associated objects(transactional) are free (from transaction) Transaction in this case is derived from: ITransaction + ITransactionalRegistry File is derived of ITransactional
Classes | |
class | ITransaction |
Transaction interface. More... | |
class | ITransactional |
Interface for transactional objects. More... | |
class | ITransactionalRegistry |
Registration of transactional objects. More... | |
class | CThreadLocalTransactional |
Thread local transactional object. More... |