com.germinus.easyconf
Class DatasourceURL

java.lang.Object
  extended bycom.germinus.easyconf.DatasourceURL

public class DatasourceURL
extends java.lang.Object

Represents the URL to a datasource as specified in a properties file TODO: Add support for ASP applications

Version:
$Revision: 1.2 $
Author:
Jorge Ferrer

Constructor Summary
DatasourceURL(java.lang.String datasourcePath, java.lang.String companyId, java.lang.String componentName)
           
 
Method Summary
protected  java.lang.String getComponentColumnName()
           
 org.apache.commons.configuration.DatabaseConfiguration getConfiguration()
           
 javax.sql.DataSource getDatasource()
           
protected  java.lang.String getKeyColumnName()
           
protected  java.lang.String getTableName()
           
protected  java.lang.String getValueColumnName()
           
static boolean isDatasource(java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatasourceURL

public DatasourceURL(java.lang.String datasourcePath,
                     java.lang.String companyId,
                     java.lang.String componentName)
Parameters:
datasourcePath -
companyId -
componentName -
Method Detail

getDatasource

public javax.sql.DataSource getDatasource()

getTableName

protected java.lang.String getTableName()

getComponentColumnName

protected java.lang.String getComponentColumnName()

getKeyColumnName

protected java.lang.String getKeyColumnName()

getValueColumnName

protected java.lang.String getValueColumnName()

isDatasource

public static boolean isDatasource(java.lang.String fileName)

getConfiguration

public org.apache.commons.configuration.DatabaseConfiguration getConfiguration()


Copyright © 2005 EasyConf team. All Rights Reserved.