Class GenericTransactionManagerLookup
- java.lang.Object
-
- org.infinispan.client.hotrod.transaction.lookup.GenericTransactionManagerLookup
-
- All Implemented Interfaces:
TransactionManagerLookup
public class GenericTransactionManagerLookup extends Object implements TransactionManagerLookup
ATransactionManagerLookupimplementation that attempts to locate aTransactionManager.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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenericTransactionManagerLookupgetInstance()TransactionManagergetTransactionManager()Returns a new TransactionManager.
-
-
-
Method Detail
-
getInstance
public static GenericTransactionManagerLookup getInstance()
-
getTransactionManager
public TransactionManager getTransactionManager()
Description copied from interface:TransactionManagerLookupReturns a new TransactionManager.- Specified by:
getTransactionManagerin interfaceTransactionManagerLookup
-
-