@Namespace(value="http://jboss.com/products/seam/transaction", prefix="org.jboss.seam.transaction")

Package org.jboss.seam.transaction

Abstracts all possible transaction management APIs behind a JTA-compatible interface.


Interface Summary
LocalEjbSynchronizations Local interface for EjbTransaction
Synchronizations Interface for registering transaction synchronizations
UserTransaction Extends the standard UserTransaction interface with a couple of helpful methods.

Class Summary
AbstractUserTransaction Base implementation of UserTransaction
CMTTransaction Wraps EJBContext transaction management in a UserTransaction interface.
EjbSynchronizations Receives JTA transaction completion notifications from the EJB container, and passes them on to the registered Synchronizations.
EjbTransaction Dummy component that lets us install the EjbSynchronizations via the tag transaction:ejb-transaction
EntityTransaction Support for the JPA EntityTransaction API.
HibernateTransaction Support for the Hibernate Transaction API.
NoTransaction When no kind of transaction management exists.
RollbackInterceptor Automatically sets the current transaction to rollback only when an exception is thrown.
SeSynchronizations This implementation does not have access to the JTA TransactionManager, so it is not fully aware of container managed transaction lifecycle, and is not able to register Synchronizations with a container managed transaction.
Transaction Supports injection of a Seam UserTransaction object that wraps the current JTA transaction or EJB container managed transaction.
TransactionInterceptor Implements transaction propagation rules for Seam JavaBean components.
UTTransaction Wraps JTA transaction management in a Seam UserTransaction interface.

Package org.jboss.seam.transaction Description

Abstracts all possible transaction management APIs behind a JTA-compatible interface. Unfortunately, many otherwise-perfectly-intelligent-looking Java developers like to invent their own transaction management APIs when they get bored, even though JTA is well-known to be more than good enough. For example, one of the co-authors of this class was present at the creation of not one but two "alternative" transaction APIs (org.hibernate.Transaction and javax.persistence.EntityTransaction), and is more embarrassed by this than by any other of his many professional blunders.

See Also:
Transaction, UserTransaction