org.exolab.castor.persist
public final class PersistenceFactoryRegistry extends java.lang.Object
PersistenceFactory
implementations
obtained from the Castor properties file and used by the
JDO database configuration file.Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getFactoryNames()
Returns the names of all the configured persistence
factories.
|
static PersistenceFactory |
getPersistenceFactory(java.lang.String name)
Returns a persistence factory with the specified name.
|
public static PersistenceFactory getPersistenceFactory(java.lang.String name)
name
- The factory namePersistenceFactory
object, null
if no factory with this name existspublic static java.lang.String[] getFactoryNames()
getPersistenceFactory(java.lang.String)
.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com