org.hibernate.transaction

Class WebSphereTransactionManagerLookup

Implemented Interfaces:
TransactionManagerLookup

public class WebSphereTransactionManagerLookup
extends java.lang.Object
implements TransactionManagerLookup

TransactionManagerLookup strategy for WebSphere (versions 4, 5.0 and 5.1)
Author:
Gavin King

Constructor Summary

WebSphereTransactionManagerLookup()
Constructs a new WebSphereTransactionManagerLookup.

Method Summary

Object
getTransactionIdentifier(Transaction transaction)
TransactionManager
getTransactionManager(Properties props)
String
getUserTransactionName()

Constructor Details

WebSphereTransactionManagerLookup

public WebSphereTransactionManagerLookup()
Constructs a new WebSphereTransactionManagerLookup.

Method Details

getTransactionIdentifier

public Object getTransactionIdentifier(Transaction transaction)
Specified by:
getTransactionIdentifier in interface TransactionManagerLookup

getTransactionManager

public TransactionManager getTransactionManager(Properties props)
            throws HibernateException
Specified by:
getTransactionManager in interface TransactionManagerLookup

getUserTransactionName

public String getUserTransactionName()
Specified by:
getUserTransactionName in interface TransactionManagerLookup