org.hibernate.transaction
Class JBossTransactionManagerLookup

java.lang.Object
  extended by org.hibernate.transaction.JNDITransactionManagerLookup
      extended by org.hibernate.transaction.JBossTransactionManagerLookup
All Implemented Interfaces:
TransactionManagerLookup

public final class JBossTransactionManagerLookup
extends JNDITransactionManagerLookup

A TransactionManagerLookup lookup strategy for JBoss AS.

Author:
Gavin King

Constructor Summary
JBossTransactionManagerLookup()
           
 
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 UserTransaction for this platform or null; optional operation.
 
Methods inherited from class org.hibernate.transaction.JNDITransactionManagerLookup
getTransactionIdentifier, getTransactionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossTransactionManagerLookup

public JBossTransactionManagerLookup()
Method Detail

getName

protected String getName()
Description copied from class: JNDITransactionManagerLookup
Get the JNDI namespace under wich we can locate the TransactionManager.

Specified by:
getName in class JNDITransactionManagerLookup
Returns:
The TransactionManager JNDI namespace

getUserTransactionName

public String getUserTransactionName()
Description copied from interface: TransactionManagerLookup
Return the JNDI namespace of the JTA UserTransaction for this platform or null; optional operation.

Returns:
The JNDI namespace where we can locate the UserTransaction for this platform.


Copyright © 2009 Hibernate.org. All Rights Reserved.