Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.database.fastobjectdb.FastObjectDBManager Class Reference

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

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 41 of file FastObjectDBManager.java.

Static Public Member Functions

static FastObjectDB getCurrentFODB () throws DatabaseException
 return the current FODB instance.

Static Protected Attributes

static FastObjectDB db


Member Function Documentation

static FastObjectDB org.openmobileis.database.fastobjectdb.FastObjectDBManager.getCurrentFODB  )  throws DatabaseException [static]
 

return the current FODB instance.

Open or create it if not done.

Returns:
the current database instance.
Exceptions:
DatabaseException 

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

Definition at line 52 of file FastObjectDBManager.java.

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


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:38 2005 for OpenMobileIS by  doxygen 1.4.4