org.sharengo.wikitty.jpa
Class TransactionManagerLookup

java.lang.Object
  extended by org.sharengo.wikitty.jpa.TransactionManagerLookup
All Implemented Interfaces:
org.hibernate.transaction.TransactionManagerLookup

public class TransactionManagerLookup
extends Object
implements org.hibernate.transaction.TransactionManagerLookup

Version:
$Revision: 1 $ Last update: $Date: 2010-04-16 10:29:38 +0200 (ven., 16 avril 2010) $ by : $Author: echatellier $m
Author:
ruchaud

Constructor Summary
TransactionManagerLookup()
           
 
Method Summary
 Object getTransactionIdentifier(Transaction t)
           
 TransactionManager getTransactionManager(Properties properties)
           
 String getUserTransactionName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManagerLookup

public TransactionManagerLookup()
Method Detail

getTransactionManager

public TransactionManager getTransactionManager(Properties properties)
                                         throws org.hibernate.HibernateException
Specified by:
getTransactionManager in interface org.hibernate.transaction.TransactionManagerLookup
Throws:
org.hibernate.HibernateException

getUserTransactionName

public String getUserTransactionName()
Specified by:
getUserTransactionName in interface org.hibernate.transaction.TransactionManagerLookup

getTransactionIdentifier

public Object getTransactionIdentifier(Transaction t)
Specified by:
getTransactionIdentifier in interface org.hibernate.transaction.TransactionManagerLookup


Copyright © 2009-2010 CodeLutin. All Rights Reserved.