org.exolab.castor.jdo.transactionmanager
Class TransactionManagerFactoryRegistry

java.lang.Object
  extended by org.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:
$Revision: 1.5 $ $Date: 2005/08/17 13:37:07 $
Author:
Bruce Snyder, Werner Guttmann, Ralf Joachim

Method Summary
static TransactionManagerFactory getTransactionManagerFactory(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
 

Method Detail

getTransactionManagerFactoryNames

public static java.lang.String[] getTransactionManagerFactoryNames()
Returns the names of all the configured TransactionManagerFactory implementations. A TransactionManagerFactory instance can be obtained by one of the getTransactionManagerFactory(java.lang.String) methods.

Returns:
Names of TransactionManagerFactory implementations

getTransactionManagerFactory

public static TransactionManagerFactory getTransactionManagerFactory(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 name of the TransactionManagerFactory.
Returns:
The TransactionManagerFactory or null if none exists with this name.


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