|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.transaction.JBossTSStandaloneTransactionManagerLookup
public class JBossTSStandaloneTransactionManagerLookup
Return a standalone JTA transaction manager for JBoss Transactions Known to work for org.jboss.jbossts:jbossjta:4.14.0.Final
Constructor Summary | |
---|---|
JBossTSStandaloneTransactionManagerLookup()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBossTSStandaloneTransactionManagerLookup()
Method Detail |
---|
public TransactionManager getTransactionManager(Properties props) throws HibernateException
TransactionManagerLookup
TransactionManager
.
getTransactionManager
in interface TransactionManagerLookup
props
- The configuration properties.
TransactionManager
.
HibernateException
- Indicates problem locating TransactionManager
.public String getUserTransactionName()
TransactionManagerLookup
UserTransaction
for this platform or null;
optional operation.
getUserTransactionName
in interface TransactionManagerLookup
UserTransaction
for this platform.public Object getTransactionIdentifier(Transaction transaction)
TransactionManagerLookup
getTransactionIdentifier
in interface TransactionManagerLookup
transaction
- The transaction to be identified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |