org.axiondb
Class DatabaseLink

java.lang.Object
  extended by org.axiondb.DatabaseLink

public class DatabaseLink
extends Object

A Database Link that holds connection spec for a external Database CREATE DATABASE LINK (DRIVER=' ' URL=' ' USERNAME=' ' PASSWORD=' ');

Version:
$Revision: 1.4 $ $Date: 2005/06/30 01:07:47 $

Constructor Summary
DatabaseLink(String name, Properties spec)
          Create an External Server
 
Method Summary
 String getCatalogName()
           
 Connection getConnection()
           
 String getJdbcUrl()
           
 String getName()
          Get the name of this database link.
 String getSchemaName()
           
 String getUserName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseLink

public DatabaseLink(String name,
                    Properties spec)
Create an External Server

Method Detail

getConnection

public Connection getConnection()
                         throws AxionException
Throws:
AxionException

getName

public String getName()
Get the name of this database link.


getCatalogName

public String getCatalogName()
Returns:
Returns the _catalogName.

getSchemaName

public String getSchemaName()
Returns:
Returns the _schemaName.

getJdbcUrl

public String getJdbcUrl()
Returns:
JDBC URL to use in connecting to the associated server

getUserName

public String getUserName()
Returns:
user name to authenticate against in connecting to associated server