org.compass.core.transaction.manager
Class JOnAS

java.lang.Object
  extended by org.compass.core.transaction.manager.JOnAS
All Implemented Interfaces:
TransactionManagerLookup

public class JOnAS
extends Object
implements TransactionManagerLookup

TransactionManager lookup strategy for JOnAS

Author:
kimchy

Constructor Summary
JOnAS()
           
 
Method Summary
 TransactionManager getTransactionManager(CompassSettings settings)
          Obtain the JTA TransactionManager
 String getUserTransactionName()
          Return the JNDI name of the JTA UserTransaction or null (optional operation).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOnAS

public JOnAS()
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

getUserTransactionName

public String getUserTransactionName()
Description copied from interface: TransactionManagerLookup
Return the JNDI name of the JTA UserTransaction or null (optional operation).

Specified by:
getUserTransactionName in interface TransactionManagerLookup


Copyright (c) 2004-2009 The Compass Project.