public final class PersistenceFactoryRegistry extends Object
PersistenceFactory
implementations
obtained from the Castor properties file and used by the
JDO database configuration file.Modifier and Type | Method and Description |
---|---|
static String[] |
getFactoryNames()
Returns the names of all the configured persistence
factories.
|
static PersistenceFactory |
getPersistenceFactory(String name)
Returns a persistence factory with the specified name.
|
public static PersistenceFactory getPersistenceFactory(String name)
name
- The factory namePersistenceFactory
object, null
if no factory with this name existspublic static String[] getFactoryNames()
getPersistenceFactory(java.lang.String)
.Copyright © 2016. All rights reserved.