Class GenericTransactionManagerLookup
java.lang.Object
org.infinispan.client.hotrod.transaction.lookup.GenericTransactionManagerLookup
- All Implemented Interfaces:
TransactionManagerLookup
A
TransactionManagerLookup
implementation that attempts to locate a TransactionManager
.
A variety of different classes and JNDI locations are tried, for servers such as:
- JBoss
- JRun4
- Resin
- Orion
- JOnAS
- BEA Weblogic
- Websphere 4.0, 5.0, 5.1, 6.0
- Sun, Glassfish
If a transaction manager is not found, returns an RemoteTransactionManager
.
- Since:
- 9.3
- Author:
- Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptionjavax.transaction.TransactionManager
Returns a new TransactionManager.
-
Method Details
-
getInstance
-
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()Description copied from interface:TransactionManagerLookup
Returns a new TransactionManager.- Specified by:
getTransactionManager
in interfaceTransactionManagerLookup
-