public interface TransactionManagerLookup
TransactionManager on given platform.
NOTE: this contract has expanded over time, and basically is a platform
abstraction contract for JTA-related information.| Modifier and Type | Method and Description |
|---|---|
Object |
getTransactionIdentifier(Transaction transaction)
Determine an identifier for the given transaction appropriate for use in caching/lookup usages.
|
TransactionManager |
getTransactionManager(Properties props)
Obtain the JTA
TransactionManager. |
String |
getUserTransactionName()
Return the JNDI namespace of the JTA
UserTransaction for this platform or null;
optional operation. |
TransactionManager getTransactionManager(Properties props) throws HibernateException
TransactionManager.props - The configuration properties.TransactionManager.HibernateException - Indicates problem locating TransactionManager.String getUserTransactionName()
UserTransaction for this platform or null;
optional operation.UserTransaction for this platform.Object getTransactionIdentifier(Transaction transaction)
transaction - The transaction to be identified.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.