|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.database.conn.AbstractConnectionFactory
abstract class AbstractConnectionFactory
Base Class for ConnectionFactories.
Field Summary | |
---|---|
(package private) DatabaseParameters |
databaseParameters
|
Constructor Summary | |
---|---|
AbstractConnectionFactory(DatabaseParameters databaseParameters)
|
Method Summary | |
---|---|
(package private) abstract java.lang.String |
getConnectionString()
|
(package private) abstract java.lang.String |
getDriverName()
|
java.sql.Connection |
getNewConnection()
Creates, tests, and returns a new database connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final DatabaseParameters databaseParameters
Constructor Detail |
---|
AbstractConnectionFactory(DatabaseParameters databaseParameters)
Method Detail |
---|
public final java.sql.Connection getNewConnection() throws java.sql.SQLException
getNewConnection
in interface ConnectionFactory
java.sql.SQLException
- if there is an error connecting to databaseabstract java.lang.String getConnectionString()
abstract java.lang.String getDriverName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |