org.exolab.castor.jdo.transactionmanager
Class TransactionManagerFactoryRegistry

java.lang.Object
  extended byorg.exolab.castor.jdo.transactionmanager.TransactionManagerFactoryRegistry

public final class TransactionManagerFactoryRegistry
extends java.lang.Object

Registry for TransactionManagerFactory implementations obtained from the Castor properties file and used by the JDO mapping configuration file.

Version:
$Id: TransactionManagerFactoryRegistry.java,v 1.1.1.1 2003/03/03 07:08:25 kvisco Exp $
Author:
Bruce Snyder, Werner Guttmann

Constructor Summary
TransactionManagerFactoryRegistry()
           
 
Method Summary
static TransactionManagerFactory getTransactionManager(java.lang.String name)
          Returns a TransactionManagerFactory with the specified name.
static java.lang.String[] getTransactionManagerFactoryNames()
          Returns the names of all the configured TransactionManagerFactory implementations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManagerFactoryRegistry

public TransactionManagerFactoryRegistry()
Method Detail

getTransactionManager

public static TransactionManagerFactory getTransactionManager(java.lang.String name)
Returns a TransactionManagerFactory with the specified name. The factory class names are loaded from the Castor properties file. Returns null if the named factory is not supported.

Parameters:
name - The TransactionManagerFactory name
Returns:
The TransactionManagerFactory, null if no TransactionManagerFactory with this name exists

getTransactionManagerFactoryNames

public static java.lang.String[] getTransactionManagerFactoryNames()
Returns the names of all the configured TransactionManagerFactory implementations. The names can be used to obtain a TransactionManagerFactory from #getTransactionManagerFactory.

Returns:
Names of TransactionManagerFactory implementations


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