|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.jdo.PersistenceManagerFactory
public final class PersistenceManagerFactory
A factory for accessing instances of a JDO PersistenceManager
that are necessary for interacting with the data store.
© Copyright 2006 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
static PersistenceManagerFactory |
pmf
The singleton instance of this class. |
| Method Summary | |
|---|---|
protected void |
close()
Close the underlying persistence manager factory. |
javax.jdo.datastore.DataStoreCache |
getDataStoreCache()
Return the DataStoreCache that may be used to
control caching. |
static PersistenceManagerFactory |
getInstance()
Return the singleton instance of this class. |
javax.jdo.PersistenceManager |
getPersistenceManager()
Return a PersistenceManager from the factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PersistenceManagerFactory pmf
| Method Detail |
|---|
public static PersistenceManagerFactory getInstance()
public final javax.jdo.PersistenceManager getPersistenceManager()
throws javax.jdo.JDOException
PersistenceManager from the factory.
javax.jdo.JDOException - If errors are encountered while fetching a
new manager.public javax.jdo.datastore.DataStoreCache getDataStoreCache()
DataStoreCache that may be used to
control caching.
protected void close()
JDOApplicationListener.close()
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||