org.exolab.castor.jdo.transactionmanager.spi
Class JOTMTransactionManagerFactory

java.lang.Object
  extended by org.exolab.castor.jdo.transactionmanager.spi.JOTMTransactionManagerFactory
All Implemented Interfaces:
TransactionManagerFactory

public final class JOTMTransactionManagerFactory
extends java.lang.Object
implements TransactionManagerFactory

Transaction manager factory instance to be used with J2EE containers where the transaction manager used is JOTM. Implements {link org.exolab.castor.jdo.transactionmanager. TransactionManagerFactory}.

Version:
$Revision: 1.1 $ $Date: 2005/10/20 12:30:10 $
Author:
Werner Guttmann

Constructor Summary
JOTMTransactionManagerFactory()
           
 
Method Summary
 java.lang.String getName()
          Returns the short alias for this factory instance.
 javax.transaction.TransactionManager getTransactionManager(JdoConf jdoConf)
          Acquires the appropriate javax.transaction.TransactionManager with the parameters from the given jdo configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOTMTransactionManagerFactory

public JOTMTransactionManagerFactory()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: TransactionManagerFactory
Returns the short alias for this factory instance.

Specified by:
getName in interface TransactionManagerFactory
Returns:
The short alias name.
See Also:
TransactionManagerFactory.getName()

getTransactionManager

public javax.transaction.TransactionManager getTransactionManager(JdoConf jdoConf)
                                                           throws TransactionManagerAcquireException
Description copied from interface: TransactionManagerFactory
Acquires the appropriate javax.transaction.TransactionManager with the parameters from the given jdo configuration.

Specified by:
getTransactionManager in interface TransactionManagerFactory
Parameters:
jdoConf - The jdo configuration holding the parameters to set on the transaction manager.
Returns:
The transaction manager.
Throws:
TransactionManagerAcquireException - If any failure occures when loading the transaction manager.
See Also:
#getTransactionManager(org.exolab.castor.jdo.conf.JdoConf)


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com