|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
TransactionConf | This is the configuration interface of the Transaction aspect. |
Class Summary | |
DispatchTransactionWrapper | This wrapper wraps all JAC objects that can be part of a transaction in order to dispatch the transactions to local clones and to commit them. |
Merging | |
TransactionAC | This aspect component handle the transaction aspect within JAC applications. |
Provides an aspect that handles transactional operations within JAC programs.
For the moment, no hierarchical transactions are supported.
The implementation is really simple and consists in cloning all the objects that take part on the transaction and to work on them on the transactionnal flow. When the transaction is commited, the states of the clones are copied to the original objects.
This transaction implementation also works in distributed mode if the transaction wrapper (that is also a coordinator) can reach the transaction participants from its host.
The configuration of this aspect consists in denoting a set of transactional methods.
defineTransactionalMethods org.objectweb.jac.samples.bank.AccountManager "transfer(Account,Account,double):void" ALL;
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |