org.compass.core.transaction
Interface TransactionManagerLookup

All Known Implementing Classes:
BEST, Glassfish, JBoss, JNDITransactionManagerLookup, JOnAS, JOTM, JRun4, OC4J, Orion, Resin, SunONE, Weblogic, WebSphere

public interface TransactionManagerLookup

Concrete implementations locate and return the JTA TransactionManager.

Initial implementation taken from Hibernate.

Author:
kimchy

Method Summary
 TransactionManager getTransactionManager(CompassSettings settings)
          Obtain the JTA TransactionManager
 String getUserTransactionName()
          Return the JNDI name of the JTA UserTransaction or null (optional operation).
 

Method Detail

getTransactionManager

TransactionManager getTransactionManager(CompassSettings settings)
                                         throws TransactionException
Obtain the JTA TransactionManager

Throws:
TransactionException

getUserTransactionName

String getUserTransactionName()
Return the JNDI name of the JTA UserTransaction or null (optional operation).



Copyright (c) 2004-2009 The Compass Project.