org.ephman.abra.database
Class DatabaseConnector

java.lang.Object
  |
  +--org.ephman.abra.database.GenericDatabaseConnector
        |
        +--org.ephman.abra.database.DatabaseConnector

public class DatabaseConnector
extends GenericDatabaseConnector


Field Summary
 
Fields inherited from class org.ephman.abra.database.GenericDatabaseConnector
conn, dbName, defaultPort, hostName
 
Constructor Summary
DatabaseConnector(java.lang.String host)
          Create a connector object that will let us connect to database server on the named host.
 
Method Summary
 java.lang.String jdbc_url()
          Create the first part of the URL needed for specifying the database in JDBC db connection.
 
Methods inherited from class org.ephman.abra.database.GenericDatabaseConnector
connect, connect, disconnect, getConn, getDbName, getDbServerHost, getDbServerPort, getUrl, setDbServerHost, setDbServerPort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseConnector

public DatabaseConnector(java.lang.String host)
Create a connector object that will let us connect to database server on the named host.

Parameters:
host - name of the host on which the database server runs
Method Detail

jdbc_url

public java.lang.String jdbc_url()
Create the first part of the URL needed for specifying the database in JDBC db connection.

Specified by:
jdbc_url in class GenericDatabaseConnector