org.exolab.castor.persist
Class PersistenceFactoryRegistry
java.lang.Object
org.exolab.castor.persist.PersistenceFactoryRegistry
public class PersistenceFactoryRegistry
extends java.lang.Object
Registry for
PersistenceFactory
implementations
obtained from the Castor properties file and used by the
JDO database configuration file.
Version:
- Assaf Arkin
getFactoryNames
public static String[] getFactoryNames()
- Names of persistence factories
getPersistenceFactory
public static PersistenceFactory getPersistenceFactory(String name)
Returns a persistence factory with the specified name.
The factories are loaded from the Castor properties
file. Returns null if the named factory is not
supported.
name
- The factory name
- The
PersistenceFactory
object, null
if no factory with this name exists
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com