public final class PersistenceManagerFactory extends Object
PersistenceManager
that are necessary for interacting with the data store.
© Copyright 2006 Sans Pareil Technologies, Inc.
| Modifier and Type | Field and Description |
|---|---|
static PersistenceManagerFactory |
pmf
The singleton instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
public static final PersistenceManagerFactory pmf
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()