public class WebSphereTransactionManagerLookup extends 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 |
|---|---|
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. |
public WebSphereTransactionManagerLookup()
public TransactionManager getTransactionManager(Properties props) throws HibernateException
TransactionManager.getTransactionManager in interface TransactionManagerLookupprops - The configuration properties.TransactionManager.HibernateException - Indicates problem locating TransactionManager.public String getUserTransactionName()
UserTransaction for this platform or null;
optional operation.getUserTransactionName in interface TransactionManagerLookupUserTransaction for this platform.public Object getTransactionIdentifier(Transaction transaction)
getTransactionIdentifier in interface TransactionManagerLookuptransaction - The transaction to be identified.Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved