Class WildflyTransactionManagerLookup
- java.lang.Object
-
- org.infinispan.transaction.lookup.WildflyTransactionManagerLookup
-
- All Implemented Interfaces:
TransactionManagerLookup
public class WildflyTransactionManagerLookup extends Object implements TransactionManagerLookup
Wildfly transaction client lookup (WildFly 11 and later).- Since:
- 9.3
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description WildflyTransactionManagerLookup()
-
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(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(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
-
-