fipaos.skill.db
Class DatabaseFactory


public class DatabaseFactory

This class provides a static method which will provide a
objects which implement the Database interface.


Method Summary
 static DatabasegetDatabase(String name, DatabaseProfile db_profile)
          Method to dynamically load a database object which represents the named
database, of the type specified by the given profile

Method Detail

getDatabase

public static Database getDatabase(String name, DatabaseProfile db_profile)
Method to dynamically load a database object which represents the named
database, of the type specified by the given profile
Parameters:
name - The name of the database to be accessed
db_profile - A profile describing properties of the database to be created
Returns: A Database object which will allow the named database to be modified