Interface ResourceTransactionManager<R,T>

Type Parameters:
R - The resource type
T - The connection type
All Superinterfaces:
SynchronousTransactionManager<T>, TransactionManager, TransactionOperations<T>
All Known Implementing Classes:
DataSourceTransactionManager, HibernateTransactionManager

public interface ResourceTransactionManager<R,T> extends SynchronousTransactionManager<T>
Extension of the SynchronousTransactionManager interface, indicating a native resource transaction manager, operating on a single target resource. Such transaction managers differ from JTA transaction managers in that they do not use XA transaction enlistment for an open number of resources but rather focus on leveraging the native power and simplicity of a single target resource.

This interface is mainly used for abstract introspection of a transaction manager, giving clients a hint on what kind of transaction manager they have been given and on what concrete resource the transaction manager is operating on.

Since:
2.0.4
Author:
Juergen Hoeller, graemerocher
See Also: