|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.tmaj.database.conn.AbstractConnectionFactory
edu.jhu.tmaj.database.conn.MySqlConnectionFactory
final class MySqlConnectionFactory
Generates database Connections to a MySQL database.
Sample values for the DatabaseParameters might be:
username = root
password = secretPassword
ip_address = 127.0.0.1
port = 3306
db_name = tmaj_jhu_mysqltest
db_type = MySQL
| Field Summary |
|---|
| Fields inherited from class edu.jhu.tmaj.database.conn.AbstractConnectionFactory |
|---|
databaseParameters |
| Constructor Summary | |
|---|---|
MySqlConnectionFactory(DatabaseParameters databaseParameters)
|
|
| Method Summary | |
|---|---|
(package private) java.lang.String |
getConnectionString()
|
(package private) java.lang.String |
getDriverName()
|
| Methods inherited from class edu.jhu.tmaj.database.conn.AbstractConnectionFactory |
|---|
getNewConnection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.jhu.tmaj.database.conn.ConnectionFactory |
|---|
getNewConnection |
| Constructor Detail |
|---|
public MySqlConnectionFactory(DatabaseParameters databaseParameters)
| Method Detail |
|---|
java.lang.String getConnectionString()
getConnectionString in class AbstractConnectionFactoryjava.lang.String getDriverName()
getDriverName in class AbstractConnectionFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||