org.exolab.core.foundation
Interface DatabaseManagerIfc


public interface DatabaseManagerIfc

The DatabaseManager interface defines the creation point for the database. It simply has one method, open, which returns a reference to a DatabaseIfc instance

Version:
$Revision: 1.1 $ $Date: 2000/02/22 07:37:55 $
Author:
Jim Alateras

Method Summary
 DatabaseIfc create(java.lang.String name, java.util.Properties props)
          Open a Database with the specified name.
 

Method Detail

create

DatabaseIfc create(java.lang.String name,
                   java.util.Properties props)
                   throws FailedToCreateDatabaseException
Open a Database with the specified name. If the database does not exist then attemtp to create it before opening it.If it cannot do either then throw the FailedToCreateDatabase exception

The input parameter 'props' holds vendor specific properties which can be used during the creation. The clietn can pass a null props param.

Parameters:
name - name of the database
props - vendor specific properties
Returns:
Databaseifc created or opened database
Throws:
FailedToCreateDatabaseException


Copyright © 1999-2012 The Exolab Group. All Rights Reserved.