com.subshell.persistence.database
Class DatabaseFactory

java.lang.Object
  extended by com.subshell.persistence.database.DatabaseFactory

public final class DatabaseFactory
extends Object

Factory returning Database instances.

Database factory properties must be stored in a file called databaseFactory.properties, which is searched for using the class loader's class path mechanism.


Method Summary
static Database getDatabase()
          Returns a Database instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDatabase

public static Database getDatabase()
Returns a Database instance.

Throws:
InitializationException - when initializing the Database failed


Copyright © 2004-2005 subshell GmbH. All Rights Reserved.