|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionManagerLookup
Contract for locating the JTA TransactionManager
on given platform.
Method Summary | |
---|---|
java.lang.Object |
getTransactionIdentifier(javax.transaction.Transaction transaction)
Determine an identifier for the given transaction appropriate for use in caching/lookup usages. |
javax.transaction.TransactionManager |
getTransactionManager(java.util.Properties props)
Obtain the JTA TransactionManager . |
java.lang.String |
getUserTransactionName()
Return the JNDI namespace of the JTA UserTransaction for this platform or null;
optional operation. |
Method Detail |
---|
javax.transaction.TransactionManager getTransactionManager(java.util.Properties props) throws HibernateException
TransactionManager
.
props
- The configuration properties.
TransactionManager
.
HibernateException
- Indicates problem locating TransactionManager
.java.lang.String getUserTransactionName()
UserTransaction
for this platform or null;
optional operation.
UserTransaction
for this platform.java.lang.Object getTransactionIdentifier(javax.transaction.Transaction transaction)
transaction
- The transaction to be identified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |