org.sourceforge.jemm
Class PersistentStore
java.lang.Object
org.sourceforge.jemm.AbstractStore
org.sourceforge.jemm.PersistentStore
- All Implemented Interfaces:
- Store
public class PersistentStore
- extends AbstractStore
A PersistentStore uses a BDbDatabase to a local persistent database.
The following code shows how to register the PersistentStore such that it
will store all objects that have been enhanced:
PersistentStore myStore = new PersistentStore();
Session.setStore(myStore);
One your program has finished running call the following:
Session.shutdown();
- Author:
- Paul Keeble, Rory Graves
- See Also:
Session
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentStore
public PersistentStore(java.io.File dataDir)
PersistentStore
public PersistentStore(java.io.File dataDir,
boolean debug)
createUnderlyingDatabase
protected Database createUnderlyingDatabase()
- Specified by:
createUnderlyingDatabase
in class AbstractStore
shutdownUnderlyingDatabase
protected void shutdownUnderlyingDatabase()
- Specified by:
shutdownUnderlyingDatabase
in class AbstractStore
Copyright © 2009. All Rights Reserved.