fipaos.skill.db
Class DatabaseFactory

java.lang.Object
  |
  +--fipaos.skill.db.DatabaseFactory

public class DatabaseFactory
extends java.lang.Object

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


Constructor Summary
DatabaseFactory()
           
 
Method Summary
static Database getDatabase(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseFactory

public DatabaseFactory()
Method Detail

getDatabase

public static Database getDatabase(java.lang.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