ehcache

net.sf.ehcache.hibernate
Class EhcacheJtaTransactionManagerLookup

java.lang.Object
  extended by net.sf.ehcache.transaction.manager.DefaultTransactionManagerLookup
      extended by net.sf.ehcache.hibernate.EhcacheJtaTransactionManagerLookup
All Implemented Interfaces:
TransactionManagerLookup

public class EhcacheJtaTransactionManagerLookup
extends DefaultTransactionManagerLookup
implements org.hibernate.transaction.TransactionManagerLookup

Hibernate TransactionManagerLookup which also is a Ehcache transaction manager lookup.

Author:
Ludovic Orban

Constructor Summary
EhcacheJtaTransactionManagerLookup()
          Construct a new transaction manager lookup.
 
Method Summary
 Object getTransactionIdentifier(Transaction transaction)
          
 TransactionManager getTransactionManager(Properties properties)
          
 String getUserTransactionName()
          
 
Methods inherited from class net.sf.ehcache.transaction.manager.DefaultTransactionManagerLookup
getTransactionManager, register, setProperties, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhcacheJtaTransactionManagerLookup

public EhcacheJtaTransactionManagerLookup()
Construct a new transaction manager lookup.

Method Detail

getTransactionManager

public TransactionManager getTransactionManager(Properties properties)
                                         throws org.hibernate.HibernateException

Throws:
org.hibernate.HibernateException

getUserTransactionName

public String getUserTransactionName()


getTransactionIdentifier

public Object getTransactionIdentifier(Transaction transaction)


ehcache

true