Interface TransactionFactory

All Known Implementing Classes:
JtaTransactionManager, SimpleTransactionFactory

public interface TransactionFactory
Strategy interface for creating JTA Transaction objects based on specified transactional characteristics.

The default implementation, SimpleTransactionFactory, simply wraps a standard JTA TransactionManager. This strategy interface allows for more sophisticated implementations that adapt to vendor-specific JTA extensions.

Since:
2.5
Author:
Juergen Hoeller
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    createTransaction(String name, int timeout)
    Create an active Transaction object based on the given name and timeout.
    boolean
    Determine whether the underlying transaction manager supports XA transactions managed by a resource adapter (i.e.