Class JBossStandaloneJTAManagerLookup
java.lang.Object
org.infinispan.transaction.lookup.JBossStandaloneJTAManagerLookup
- All Implemented Interfaces:
TransactionManagerLookup
JTA standalone TM lookup (JBoss AS 7 and earlier, and WildFly 8, 9, and 10).
- Since:
- 4.0
- Author:
- Jason T. Greene
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.transaction.TransactionManager
Returns a new TransactionManager.javax.transaction.UserTransaction
void
init
(GlobalConfiguration globalCfg) toString()
-
Constructor Details
-
JBossStandaloneJTAManagerLookup
public JBossStandaloneJTAManagerLookup()
-
-
Method Details
-
init
-
getTransactionManager
Description copied from interface:TransactionManagerLookup
Returns a new TransactionManager.- Specified by:
getTransactionManager
in interfaceTransactionManagerLookup
- Throws:
Exception
- if lookup failed
-
getUserTransaction
- Throws:
Exception
-
toString
-