Package org.apache.commons.transaction

Apache Commons Transaction Making concurrent programming transactional.

See:
          Description

Interface Summary
ManageableResourceManager Needs to be implemented by all resource managers that want to take part in a combined transaction.
Transaction A managed transaction meant as interface to the user.
TransactionalResourceManager Interface for something that makes up a transactional resource manager.
 

Class Summary
AbstractTransactionalResourceManager<T extends AbstractTransactionalResourceManager.AbstractTxContext> Abstract base class for transactional resource managers.
DefaultTransaction Default implementation for the Transaction interface.
 

Enum Summary
TransactionException.Code  
 

Exception Summary
TransactionException General exception for all kinds of transactional problems.
 

Package org.apache.commons.transaction Description

Apache Commons Transaction

Making concurrent programming transactional.

This package contains the most important interfaces of the whole component. If you want to add transaction control to your resource managers you will have to implement the transactional resource manager interface. It is recommended that you start your work by inheriting from the abstract transactional resource manager.

The user is supposed to control transactionality using the methods of this interface.

In case you want more than one transactional resource manager to take part in a single transaction use the transaction interface along with its default implementation. Resource managers that want to participate need to be manageable resource managers. This interface is not supposed to be called by the user, but is used by the complex transaction.



Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.