|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.LogicalDatabase
public final class LogicalDatabase
An object which knows how to connect to a database.
Method Summary | |
---|---|
static Database |
getDatabase(String name)
Retrieve a database by name. |
static Vector<String> |
getInitialisedDatabaseNames()
Retrieve the names of the databases which have completed initialisation. |
static String |
getPropertiesName()
The name used with getResourceAsStream to
get the file and the properties within it. |
static Vector<Database> |
initialisedDatabases()
Retrieve the databases which have completed initialisation. |
static void |
setDatabaseDefs(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 Vector<Database> initialisedDatabases()
Vector
of the initialised databasespublic static Vector<String> getInitialisedDatabaseNames()
Vector
of the initialised database namespublic static Database getDatabase(String name) throws DatabaseInitException
name
- the name of the database
Database
with the name specified
DatabaseInitException
- if any Exception is trappedpublic static void setDatabaseDefs(Properties databaseDefsIn)
public static 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 |