org.hibernate.transaction

Class JBossTransactionManagerLookup

Implemented Interfaces:
TransactionManagerLookup

public final class JBossTransactionManagerLookup
extends JNDITransactionManagerLookup

A TransactionManagerLookup lookup strategy for JBoss AS.
Author:
Gavin King

Method Summary

protected String
getName()
Get the JNDI namespace under wich we can locate the TransactionManager.
String
getUserTransactionName()
Return the JNDI namespace of the JTA javax.transaction.UserTransaction for this platform or null; optional operation.

Methods inherited from class org.hibernate.transaction.JNDITransactionManagerLookup

getName, getTransactionIdentifier, getTransactionManager

Method Details

getName

protected String getName()
Get the JNDI namespace under wich we can locate the TransactionManager.
Overrides:
getName in interface JNDITransactionManagerLookup
Returns:
The TransactionManager JNDI namespace

getUserTransactionName

public String getUserTransactionName()
Return the JNDI namespace of the JTA javax.transaction.UserTransaction for this platform or null; optional operation.
Specified by:
getUserTransactionName in interface TransactionManagerLookup
Returns:
The JNDI namespace where we can locate the javax.transaction.UserTransaction for this platform.