|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.persist.PersistenceFactoryRegistry
public class PersistenceFactoryRegistry
Registry for PersistenceFactory
implementations
obtained from the Castor properties file and used by the
JDO database configuration file.
Constructor Summary | |
---|---|
PersistenceFactoryRegistry()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceFactoryRegistry()
Method Detail |
---|
public static PersistenceFactory getPersistenceFactory(java.lang.String name)
name
- The factory name
PersistenceFactory
object, null
if no factory with this name existspublic static java.lang.String[] getFactoryNames()
getPersistenceFactory(java.lang.String)
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |