org.openmobileis.database.fastobjectdb.synchro.client
Class SynchroFastObjectDBManager

java.lang.Object
  extended byorg.openmobileis.database.fastobjectdb.FastObjectDBManager
      extended byorg.openmobileis.database.fastobjectdb.synchro.client.SynchroFastObjectDBManager

public final class SynchroFastObjectDBManager
extends FastObjectDBManager

Title: OpenMobileIS project source
Description: Factory pattern to manage one FODb inside an application. Use to get the current db factory instance. If the db is not open or created, use the fastobjectdb.database.path fastobjectdb.database.name properties to get db path and name.

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Field Summary
 
Fields inherited from class org.openmobileis.database.fastobjectdb.FastObjectDBManager
db
 
Constructor Summary
SynchroFastObjectDBManager()
           
 
Method Summary
static void flushDB()
          Use to reload all db file headers.
static FastObjectDB getCurrentFODB()
          return the current FODB instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchroFastObjectDBManager

public SynchroFastObjectDBManager()
Method Detail

getCurrentFODB

public static FastObjectDB getCurrentFODB()
                                   throws DatabaseException
return the current FODB instance. Open or create it if not done.

Returns:
the current database instance.
Throws:
DatabaseException

flushDB

public static void flushDB()
                    throws DatabaseException
Use to reload all db file headers.

Throws:
DatabaseException


Copyright 2005 e-Care. All Rights Reserved.