org.jboss.cache.transaction
Class GenericTransactionManagerLookup
java.lang.Object
org.jboss.cache.transaction.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
.
- Version:
- $Id: GenericTransactionManagerLookup.java 7375 2009-01-05 17:15:07Z manik.surtani@jboss.com $
- 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 © 2009 JBoss, a division of Red Hat. All Rights Reserved.