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

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, init, 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 HibernateException

Throws:
HibernateException

getUserTransactionName

public String getUserTransactionName()


getTransactionIdentifier

public Object getTransactionIdentifier(Transaction transaction)


ehcache

Copyright 2001-2014, Terracotta, Inc.