JAC project
AOPSYS
CEDRIC & LIP6 labs

Package org.objectweb.jac.aspects.transaction

Provides an aspect that handles transactional operations within JAC programs.

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.
 

Package org.objectweb.jac.aspects.transaction Description

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;

Related Documentation

For overviews, sources, tutorials, examples, guides, and tool documentation, please see:


Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli