org.infinispan.transaction.lookup
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
If a transaction manager is not found, returns a
DummyTransactionManager
.
- Since:
- 4.0
- Author:
- Markus Plesser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericTransactionManagerLookup
public GenericTransactionManagerLookup()
getTransactionManager
public TransactionManager getTransactionManager()
- Get the systemwide used TransactionManager
- Specified by:
getTransactionManager
in interface TransactionManagerLookup
- Returns:
- TransactionManager
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.