|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
TransactionResource<T> | Interfaces to be implemented by resources that want to participate in
transactions managed through SimpleTransactionManager . |
UserTransactionCallback | |
UserTransactionFactory | Factory used to create transactions. |
Class Summary | |
---|---|
DefaultUserTransactionFactory | Transaction factory implementation that creates SimpleUserTransaction
objects. |
SimpleTransactionManager |
Simple transaction manager provides a simple mechanism to manage transactions
in test code through the UserTransaction object. |
SimpleUserTransaction | Represents a user transaction spanning a number of resources. |
TransactionProxyFactory<T> | This utility makes sure that each invocation on a certain interface is carried out within a JPA unit of work. |
Enum Summary | |
---|---|
TransactionResult | Transaction result. |
This package provides basic support utilities for testing with transactions.
Depending on the test setup different methods can be used on top of the basic
support for transactions with JpaBuilder
.
These are:
TransactionProxyFactory
: In case you want to test a service and want
"requires new" transaction semantics for your service. SimpleTransactionManager
: In case you want to manage one or more
transactional resources through a standard UserTransaction
.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |