Transaction Manager Factory dispatcher - redirects newTransactionManager() to
a concrete TransactionManagerFactory.
Currently, 3 types of concrete TransactionManagerFactory classes are internally registered:
JDBC (default), JDBC_PRIMITIVE and JTA. Use setType method to set a different concrete factory.
See Also:JdbcTransactionManagerFactory See Also:JtaTransactionManagerFactory author: Gennady Krizhevsky
newJoiningTransactionManager(TransactionManager coreTransactionManager) Retuns new instance of non-releasing wrapper for coreTransactionManager.
The returned TransactionManager instance will commit/rollback the current transaction
w/o returning it to the pool.
Retuns new instance of non commiting/rollbacking wrapper for coreTransactionManager
Parameters: coreTransactionManager - new instance of non commiting/rollbacking wrapper for coreTransactionManager
Retuns new instance of non-releasing wrapper for coreTransactionManager.
The returned TransactionManager instance will commit/rollback the current transaction
w/o returning it to the pool. TransactionManager.begin() method will retrun current transaction.
Parameters: coreTransactionManager - new instance of non-releasing wrapper for coreTransactionManager