Class GenericTransactionManagerLookup
- java.lang.Object
-
- org.infinispan.transaction.lookup.GenericTransactionManagerLookup
-
- All Implemented Interfaces:
TransactionManagerLookup
public class GenericTransactionManagerLookup extends Object implements TransactionManagerLookup
A transaction manager lookup class 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
EmbeddedTransactionManager
.- Since:
- 4.0
- Author:
- Markus Plesser
-
-
Field Summary
Fields Modifier and Type Field Description static GenericTransactionManagerLookup
INSTANCE
-
Constructor Summary
Constructors Constructor Description GenericTransactionManagerLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionManager
getTransactionManager()
Get the system-wide used TransactionManager
-
-
-
Field Detail
-
INSTANCE
public static final GenericTransactionManagerLookup INSTANCE
-
-
Method Detail
-
getTransactionManager
public TransactionManager getTransactionManager()
Get the system-wide used TransactionManager- Specified by:
getTransactionManager
in interfaceTransactionManagerLookup
- Returns:
- TransactionManager
-
-