public class WebSphereTransactionManagerLookup extends java.lang.Object implements TransactionManagerLookup
TransactionManagerLookup strategy for WebSphere (versions 4, 5.0 and 5.1)| Constructor and Description |
|---|
WebSphereTransactionManagerLookup()
Constructs a new WebSphereTransactionManagerLookup.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
public WebSphereTransactionManagerLookup()
public javax.transaction.TransactionManager getTransactionManager(java.util.Properties props)
throws HibernateException
TransactionManager.getTransactionManager in interface TransactionManagerLookupprops - The configuration properties.TransactionManager.HibernateException - Indicates problem locating TransactionManager.public java.lang.String getUserTransactionName()
UserTransaction for this platform or null;
optional operation.getUserTransactionName in interface TransactionManagerLookupUserTransaction for this platform.public java.lang.Object getTransactionIdentifier(javax.transaction.Transaction transaction)
getTransactionIdentifier in interface TransactionManagerLookuptransaction - The transaction to be identified.Copyright © 2013. All Rights Reserved.