de.nidanet.dev.google.persistent_users.helper
Class PMF
java.lang.Object
de.nidanet.dev.google.persistent_users.helper.PMF
public final class PMF
- extends Object
Just a small helper class that provides a factory for a single instance
of a Persistence Manager.
- Since:
- 2009-06-12
- Version:
- 1.0
- Author:
- Nico Danneberg (mail@danneberg.de)
- See Also:
PersistenceManagerFactory
|
Field Summary |
private static javax.jdo.PersistenceManagerFactory |
pmfInstance
The single instance of the factory. |
|
Constructor Summary |
private |
PMF()
The empty and private standard constructor to force the singleton pattern. |
|
Method Summary |
static javax.jdo.PersistenceManagerFactory |
get()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pmfInstance
private static final javax.jdo.PersistenceManagerFactory pmfInstance
- The single instance of the factory.
PMF
private PMF()
- The empty and private standard constructor to force the singleton pattern.
get
public static javax.jdo.PersistenceManagerFactory get()
- Returns:
- the factory instance