org.sape.carbon.services.sql.connection
Interface StandaloneConnectionFactoryConfiguration

All Superinterfaces:
ComponentConfiguration, Configuration

public interface StandaloneConnectionFactoryConfiguration
extends ComponentConfiguration

Configuration Interface for StandaloneConnectionFactory Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.8 $($Author: araman $ / $Date: 2003/07/29 08:01:30 $)
Author:
Chris Herron, March 2002

Field Summary
 
Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration
ComponentTemplateName
 
Method Summary
 Map getConnectionProperties()
          Retrieves additional configuration properties set for the connection
 String getConnectionProperties(String key)
          Method to retrieve a specific configuration value property set for the connection
 String getDbPassword()
          Gets the DbPassword specifiying the database connection.
 String getDbUrl()
          Gets the DbUrl specifiying the database connection.
 String getDbUserId()
          Gets the DbUserId specifiying the database connection.
 Class getDriverClass()
          Gets the class of the driver to create the connection with.
 void setConnectionProperties(Map connectionProperties)
          Sets additional configuration values for the connection
 void setConnectionProperties(String key, String value)
          Sets a specific configuration value for the connection
 void setDbPassword(String dbPassword)
          Sets the DbPassword specifiying the database connection.
 void setDbUrl(String dbUrl)
          Sets the DbUrl specifiying the database connection.
 void setDbUserId(String dbUserId)
          Sets the DbUserId specifiying the database connection.
 void setDriverClass(Class driverClass)
          Sets the class of the driver to create the connection with.
 
Methods inherited from interface org.sape.carbon.core.component.ComponentConfiguration
getComponentDescription, getComponentTemplateName, getFunctionalImplementationClass, getFunctionalInterface, setComponentDescription, setComponentTemplateName, setFunctionalImplementationClass, setFunctionalInterface
 
Methods inherited from interface org.sape.carbon.core.config.Configuration
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly
 

Method Detail

getDriverClass

public Class getDriverClass()
Gets the class of the driver to create the connection with.

Returns:
Class of driver for connection.

setDriverClass

public void setDriverClass(Class driverClass)
Sets the class of the driver to create the connection with.

Parameters:
driverClass - Class of driver for connection.

getDbUrl

public String getDbUrl()
Gets the DbUrl specifiying the database connection.

Returns:
the DbUrl specifiying the database connection

setDbUrl

public void setDbUrl(String dbUrl)
Sets the DbUrl specifiying the database connection.

Parameters:
dbUrl - the DbUrl specifiying the database connection

getDbUserId

public String getDbUserId()
Gets the DbUserId specifiying the database connection.

Returns:
the DbUserId specifiying the database connection

setDbUserId

public void setDbUserId(String dbUserId)
Sets the DbUserId specifiying the database connection.

Parameters:
dbUserId - the DbUserId specifiying the database connection

getDbPassword

public String getDbPassword()
Gets the DbPassword specifiying the database connection.

Returns:
the DbPassword specifiying the database connection

setDbPassword

public void setDbPassword(String dbPassword)
Sets the DbPassword specifiying the database connection.

Parameters:
dbPassword - the dbPassword specifiying the database connection

getConnectionProperties

public Map getConnectionProperties()
Retrieves additional configuration properties set for the connection


getConnectionProperties

public String getConnectionProperties(String key)
Method to retrieve a specific configuration value property set for the connection


setConnectionProperties

public void setConnectionProperties(Map connectionProperties)
Sets additional configuration values for the connection


setConnectionProperties

public void setConnectionProperties(String key,
                                    String value)
Sets a specific configuration value for the connection



Copyright 1999-2003 Sapient Corporation. All Rights Reserved.