Class EmbeddedTransactionManagerLookup
- java.lang.Object
-
- org.infinispan.transaction.lookup.EmbeddedTransactionManagerLookup
-
- All Implemented Interfaces:
TransactionManagerLookup
public class EmbeddedTransactionManagerLookup extends Object implements TransactionManagerLookup
Returns an instance ofEmbeddedTransactionManager
.- Since:
- 9.0
- Author:
- Bela Ban, Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description EmbeddedTransactionManagerLookup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
cleanup()
TransactionManager
getTransactionManager()
Returns a new TransactionManager.static UserTransaction
getUserTransaction()
String
toString()
-
-
-
Method Detail
-
getUserTransaction
public static UserTransaction getUserTransaction()
-
cleanup
public static void cleanup()
-
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
-
-