org.hibernate.ogm.datastore.infinispan.impl
Class TransactionManagerLookupDelegator

java.lang.Object
  extended by org.hibernate.ogm.datastore.infinispan.impl.TransactionManagerLookupDelegator
All Implemented Interfaces:
org.infinispan.transaction.lookup.TransactionManagerLookup

public class TransactionManagerLookupDelegator
extends Object
implements org.infinispan.transaction.lookup.TransactionManagerLookup

Wraps the TransactionManager lookup strategy as configured in the Hibernate main properties into an implementation usable by Infinispan

Author:
Sanne Grinovero (C) 2011 Red Hat Inc.

Constructor Summary
TransactionManagerLookupDelegator(Properties hibernateConfiguration)
           
 
Method Summary
 TransactionManager getTransactionManager()
           
protected  boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManagerLookupDelegator

public TransactionManagerLookupDelegator(Properties hibernateConfiguration)
Method Detail

getTransactionManager

public TransactionManager getTransactionManager()
                                         throws Exception
Specified by:
getTransactionManager in interface org.infinispan.transaction.lookup.TransactionManagerLookup
Throws:
Exception

isValid

protected boolean isValid()


Copyright © 2010-2011 Red Hat Middleware, LLC, Emmanuel Bernard and various contributors. All Rights Reserved