Class JBossStandaloneJTAManagerLookup
- java.lang.Object
-
- org.exoplatform.services.transaction.infinispan.JBossStandaloneJTAManagerLookup
-
- All Implemented Interfaces:
org.infinispan.transaction.lookup.TransactionManagerLookup
public class JBossStandaloneJTAManagerLookup extends Object implements org.infinispan.transaction.lookup.TransactionManagerLookup
This class is used to replace the one provided by default in ISPN 5.0 since it implicitly requires that ISPN is initialized before the rest which is actually the exact opposite. Indeed Arjuna accessors are initialized in the init method which is called at ISPN initialization but we expect to get theTransactionManagerfrom it through theTransactionServicebefore initializing the JCR so before initializing ISPN. The code below is a simple copy/paste of the code ofJBossStandaloneJTAManagerLookupof ISPN 4.- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Constructor Summary
Constructors Constructor Description JBossStandaloneJTAManagerLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionManagergetTransactionManager()UserTransactiongetUserTransaction()
-
-
-
Method Detail
-
getTransactionManager
public TransactionManager getTransactionManager() throws Exception
- Specified by:
getTransactionManagerin interfaceorg.infinispan.transaction.lookup.TransactionManagerLookup- Throws:
Exception
-
getUserTransaction
public UserTransaction getUserTransaction() throws Exception
- Throws:
Exception
-
-