org.exolab.castor.jdo.transactionmanager

Class TransactionManagerFactoryRegistry

public final class TransactionManagerFactoryRegistry extends 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 TransactionManagerFactorygetTransactionManagerFactory(String name)
Returns a TransactionManagerFactory with the specified name.
static String[]getTransactionManagerFactoryNames()
Returns the names of all the configured TransactionManagerFactory implementations.

Method Detail

getTransactionManagerFactory

public static TransactionManagerFactory getTransactionManagerFactory(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.

getTransactionManagerFactoryNames

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

Returns: Names of TransactionManagerFactory implementations

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