Class 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 an EmbeddedTransactionManager.
    Since:
    4.0
    Author:
    Markus Plesser
    • Constructor Detail

      • GenericTransactionManagerLookup

        public GenericTransactionManagerLookup()
    • Method Detail

      • getTransactionManager

        public javax.transaction.TransactionManager getTransactionManager()
        Get the system-wide used TransactionManager
        Specified by:
        getTransactionManager in interface TransactionManagerLookup
        Returns:
        TransactionManager