Class JBossStandaloneJTAManagerLookup
- java.lang.Object
-
- org.infinispan.transaction.lookup.JBossStandaloneJTAManagerLookup
-
- All Implemented Interfaces:
TransactionManagerLookup
public class JBossStandaloneJTAManagerLookup extends Object implements 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
Constructors Constructor Description JBossStandaloneJTAManagerLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TransactionManager
getTransactionManager()
Returns a new TransactionManager.UserTransaction
getUserTransaction()
void
init(Configuration configuration)
Deprecated.Useinit(org.infinispan.configuration.global.GlobalConfiguration)
instead sinceConfiguration
has no access to classloader any more.void
init(GlobalConfiguration globalCfg)
String
toString()
-
-
-
Method Detail
-
init
public void init(GlobalConfiguration globalCfg)
-
init
@Deprecated public void init(Configuration configuration)
Deprecated.Useinit(org.infinispan.configuration.global.GlobalConfiguration)
instead sinceConfiguration
has no access to classloader any more.
-
getTransactionManager
public TransactionManager getTransactionManager() throws Exception
Description copied from interface:TransactionManagerLookup
Returns a new TransactionManager.- Specified by:
getTransactionManager
in interfaceTransactionManagerLookup
- Throws:
Exception
- if lookup failed
-
getUserTransaction
public UserTransaction getUserTransaction() throws Exception
- Throws:
Exception
-
-