com.germinus.easyconf
Class DatasourceURL
java.lang.Object
com.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatasourceURL
public DatasourceURL(java.lang.String datasourcePath,
java.lang.String companyId,
java.lang.String componentName)
- Parameters:
datasourcePath
- companyId
- componentName
-
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.