org.openmobileis.database.fastobjectdb
Interface FastObjectDBManagerService

All Known Implementing Classes:
FastObjectDBManager, SynchroFastObjectDBManager

public interface FastObjectDBManagerService

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

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

Method Detail

getCurrentFODB

public 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 void flushDB()
             throws DatabaseException
Use to reload all db file headers.

Throws:
DatabaseException

isFodbStarted

public boolean isFodbStarted()


Copyright 2006 OpenMobileIS. All Rights Reserved.