org.compass.core.transaction.manager
Class JNDITransactionManagerLookup

java.lang.Object
  extended by org.compass.core.transaction.manager.JNDITransactionManagerLookup
All Implemented Interfaces:
TransactionManagerLookup
Direct Known Subclasses:
BEST, Glassfish, JBoss, JRun4, OC4J, Orion, Resin, SunONE, Weblogic

public abstract class JNDITransactionManagerLookup
extends Object
implements TransactionManagerLookup

Locates a TransactionManager in JNDI.

Author:
kimchy

Constructor Summary
JNDITransactionManagerLookup()
           
 
Method Summary
protected abstract  String getName()
           
 TransactionManager getTransactionManager(CompassSettings settings)
          Obtain the JTA TransactionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.compass.core.transaction.TransactionManagerLookup
getUserTransactionName
 

Constructor Detail

JNDITransactionManagerLookup

public JNDITransactionManagerLookup()
Method Detail

getTransactionManager

public TransactionManager getTransactionManager(CompassSettings settings)
                                         throws TransactionException
Description copied from interface: TransactionManagerLookup
Obtain the JTA TransactionManager

Specified by:
getTransactionManager in interface TransactionManagerLookup
Throws:
TransactionException

getName

protected abstract String getName()


Copyright (c) 2004-2009 The Compass Project.