|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.melati.LogicalDatabase
public final class LogicalDatabase
An object which knows how to connect to a database.
| Method Summary | |
|---|---|
static Database |
getDatabase(java.lang.String name)
Retrieve a database by name. |
static java.util.Vector |
getInitialisedDatabaseNames()
Retrieve the names of the databases which have completed initialisation. |
static java.lang.String |
getPropertiesName()
The name used with getResourceAsStream to
get the file and the properties within it. |
static java.util.Vector |
initialisedDatabases()
Retrieve the databases which have completed initialisation. |
static void |
setDatabaseDefs(java.util.Properties databaseDefsIn)
Set the databaseDefs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Vector initialisedDatabases()
Vector of the initialised databasespublic static java.util.Vector getInitialisedDatabaseNames()
Vector of the initialised database names
public static Database getDatabase(java.lang.String name)
throws DatabaseInitException
name - the name of the database
Database with the name specified
DatabaseInitException - if any Exception is trappedpublic static void setDatabaseDefs(java.util.Properties databaseDefsIn)
public static java.lang.String getPropertiesName()
getResourceAsStream to
get the file and the properties within it.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||