org.hibernate.transaction
Class OrionTransactionManagerLookup

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

public class OrionTransactionManagerLookup
extends JNDITransactionManagerLookup

TransactionManagerLookup strategy for Orion

Author:
Gavin King

Constructor Summary
OrionTransactionManagerLookup()
           
 
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

OrionTransactionManagerLookup

public OrionTransactionManagerLookup()
Method Detail

getName

protected String getName()
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()
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 © 2001-2010 Red Hat, Inc. All Rights Reserved.