Class GenericTransactionManagerLookup
java.lang.Object
org.infinispan.hotrod.transaction.lookup.GenericTransactionManagerLookup
- All Implemented Interfaces:
org.infinispan.commons.tx.lookup.TransactionManagerLookup
public class GenericTransactionManagerLookup
extends Object
implements org.infinispan.commons.tx.lookup.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:
- 14.0
-
Method Summary
Modifier and TypeMethodDescriptionjavax.transaction.TransactionManager
-
Method Details
-
getInstance
-
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()- Specified by:
getTransactionManagerin interfaceorg.infinispan.commons.tx.lookup.TransactionManagerLookup
-