edu.mssm.crover.webapps.dimlib
Class JDOFactory

java.lang.Object
  |
  +--edu.mssm.crover.webapps.dimlib.JDOFactory

public class JDOFactory
extends java.lang.Object

Gives static access to a properly configured PersistenceManagerFactory. This class provides vendor-specific code necessary to bootstrap the Kodo JDO system into existence. Copied from ~icb/softs/kodo/tutorial/JDOFactory.java (Kodo JDO version 2.4.0).


Constructor Summary
JDOFactory()
           
 
Method Summary
static javax.jdo.PersistenceManager getPersistenceManager()
          Return a PersistenceManager obtained from this class's singleton persistence manager factory.
static javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory()
          Return the singleton persistence manager factory instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOFactory

public JDOFactory()
Method Detail

getPersistenceManagerFactory

public static javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory()
Return the singleton persistence manager factory instance.


getPersistenceManager

public static javax.jdo.PersistenceManager getPersistenceManager()
Return a PersistenceManager obtained from this class's singleton persistence manager factory.



Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.