|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.DatabaseFactory
public final class DatabaseFactory
Creates Databases
| Field Summary | |
|---|---|
protected static java.util.Map<java.lang.String,Database> |
databases
|
| Method Summary | |
|---|---|
static Database |
getDatabase(java.lang.String instance)
Returns a connection to the named database |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.util.Map<java.lang.String,Database> databases
| Method Detail |
|---|
public static Database getDatabase(java.lang.String instance)
throws java.sql.SQLException,
java.lang.ClassNotFoundException
instance - the name of the database
java.sql.SQLException - if there is a problem with the underlying database
java.lang.ClassNotFoundException - if the class that the instance uses cannot be found
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||