|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.finalist.jaggenerator.DatabaseManager
The DatabaseManager handles JAG's generic database support. This enables JAG to connect to any database, provided the database has a JDBC driver.
Field Summary | |
static java.lang.String |
APPSERVER_TYPEMAPPINGS
|
static java.lang.String |
NAME
|
Method Summary | |
java.util.List |
addDrivers(java.io.File driverFile)
Adds JDBC driver(s) from the specified File. |
org.w3c.dom.Element |
appendXML(org.w3c.dom.Element root)
Persists the supported database information by appending an XML element to the config Document. |
static DatabaseManager |
getInstance()
The DatabaseManager is a singleton - this method obtains the one and only instance. |
Database[] |
getSupportedDatabases()
Gets the list of supported databases. |
java.lang.String[] |
getTypeMappings()
Gets the list of possible appserver typemappings. |
void |
setDatabases(java.util.ArrayList editedValues)
Resets the list of supported databases (and also resets the list in the Datasource panel). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String NAME
public static final java.lang.String APPSERVER_TYPEMAPPINGS
Method Detail |
public static DatabaseManager getInstance()
public java.util.List addDrivers(java.io.File driverFile)
driverFile
-
public Database[] getSupportedDatabases()
public void setDatabases(java.util.ArrayList editedValues)
editedValues
- public java.lang.String[] getTypeMappings()
public org.w3c.dom.Element appendXML(org.w3c.dom.Element root)
root
- The XML Element under which we append the XML.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |