org.openmobileis.database.fastobjectdb.FastObjectDBManager Class Reference

Inheritance diagram for org.openmobileis.database.fastobjectdb.FastObjectDBManager:

org.openmobileis.database.fastobjectdb.FastObjectDBManagerService org.openmobileis.database.fastobjectdb.synchro.client.SynchroFastObjectDBManager List of all members.

Detailed Description

Factory pattern to manage one FODb inside an application.

Use to get the current db factory instance. Use the PropertiesManager fastobjectdb.database.path and fastobjectdb.database.name properties to define db path and name.

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

Definition at line 46 of file FastObjectDBManager.java.

Public Member Functions

FastObjectDB getCurrentFODB () throws DatabaseException
 return the current FODB instance.
boolean isFodbStarted ()
void flushDB () throws DatabaseException
 Use to reload all db file headers.

Static Public Member Functions

static final void registerManager (FastObjectDBManager newManager)
static final FastObjectDBManager getManager ()

Protected Member Functions

 FastObjectDBManager ()

Protected Attributes

FastObjectDB db
boolean fodbStarted = false

Static Protected Attributes

static Hashtable cypherList
static FastObjectDBManager manager


Member Function Documentation

FastObjectDB org.openmobileis.database.fastobjectdb.FastObjectDBManager.getCurrentFODB (  )  throws DatabaseException

return the current FODB instance.

Open or create it if not done.

Returns:
the current database instance.
Exceptions:
DatabaseException 

Implements org.openmobileis.database.fastobjectdb.FastObjectDBManagerService.

Reimplemented in org.openmobileis.database.fastobjectdb.synchro.client.SynchroFastObjectDBManager.

Definition at line 80 of file FastObjectDBManager.java.

References org.openmobileis.database.fastobjectdb.FastObjectDBManager.db, org.openmobileis.database.fastobjectdb.FastObjectDBManager.fodbStarted, and org.openmobileis.database.fastobjectdb.FastObjectDB.open().


The documentation for this class was generated from the following file:
Generated on Tue May 22 23:01:16 2007 for OpenMobileIS by  doxygen 1.5.1-p1