jgnash.engine.db4o
Class Db4oConfigDAO

java.lang.Object
  extended by jgnash.engine.dao.AbstractDAO
      extended by jgnash.engine.db4o.AbstractDb4oDAO
          extended by jgnash.engine.db4o.Db4oConfigDAO
All Implemented Interfaces:
ConfigDAO

 class Db4oConfigDAO
extends AbstractDb4oDAO
implements ConfigDAO

Hides all the db4o config code

Version:
$Id$
Author:
Craig Cavanaugh

Nested Class Summary
private static class Db4oConfigDAO.ConfigSearchPredicate
           
 
Field Summary
private static java.lang.String CONFIG_SEMAPHORE
           
private  java.util.logging.Logger logger
           
 
Fields inherited from class jgnash.engine.db4o.AbstractDb4oDAO
commitCount, container, GLOBAL_SEMAPHORE, isRemote, MAX_COMMIT_TIME, SEMAPHORE_WAIT_TIME, SEMAPHORE_WARNING
 
Constructor Summary
Db4oConfigDAO(com.db4o.ObjectContainer container, boolean isRemote)
           
 
Method Summary
 void commit(Config config)
           
 Config getDefaultConfig()
           
 
Methods inherited from class jgnash.engine.db4o.AbstractDb4oDAO
commit, commitAndReset
 
Methods inherited from class jgnash.engine.dao.AbstractDAO
stripMarkedForRemoval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_SEMAPHORE

private static final java.lang.String CONFIG_SEMAPHORE
See Also:
Constant Field Values

logger

private java.util.logging.Logger logger
Constructor Detail

Db4oConfigDAO

Db4oConfigDAO(com.db4o.ObjectContainer container,
              boolean isRemote)
Method Detail

getDefaultConfig

public Config getDefaultConfig()
Specified by:
getDefaultConfig in interface ConfigDAO

commit

public void commit(Config config)
Specified by:
commit in interface ConfigDAO