| java.lang.Object org.openharmonise.rm.dsi.DataStoreInterfaceFactory
DataStoreInterfaceFactory | public class DataStoreInterfaceFactory (Code) | | A factory class which creates new AbstractDataStoreInterface
instances appropriate to the database available to the current deployment
of Harmonise.
author: Michael Bell version: $Revision: 1.2 $ |
Field Summary | |
final public static String | DBDRV_PNAME The configuration parameter name associated with the JDBC driver class name to be used
to connect to the database. | final public static String | DBPWD_PNAME The configuration parameter name associated with the database password. | final public static String | DBURL_PNAME The configuration parameter name associated with the database URI. | final public static String | DBUSR_PNAME The configuration parameter name associated with the database user name. | final public static String | DSI_PNAME |
DBDRV_PNAME | final public static String DBDRV_PNAME(Code) | | The configuration parameter name associated with the JDBC driver class name to be used
to connect to the database.
|
DBPWD_PNAME | final public static String DBPWD_PNAME(Code) | | The configuration parameter name associated with the database password.
|
DBURL_PNAME | final public static String DBURL_PNAME(Code) | | The configuration parameter name associated with the database URI.
|
DBUSR_PNAME | final public static String DBUSR_PNAME(Code) | | The configuration parameter name associated with the database user name.
|
DSI_PNAME | final public static String DSI_PNAME(Code) | | The configuration parameter name for class name for the concrete
implementation of AbstractDataStoreInterface
|
getDataStoreInterface | public static AbstractDataStoreInterface getDataStoreInterface() throws DataStoreException(Code) | | Returns the default data store interface for this deployment of
Harmonise.
the default data store interface for this deployment ofHarmonise. throws: DataStoreException - if there is an error getting the requiredconfiguration data or instantiating the AbstractDataStoreInterface |
getDataStoreInterface | public static AbstractDataStoreInterface getDataStoreInterface(String sDSIclass, String sDriver, String sURL, String sUsr, String sPwd) throws DataStoreException(Code) | | Returns an AbstractDataStoreInterface from the specified
parameters.
Parameters: sDSIclass - the data store interface class name Parameters: sDriver - the JDBC driver class name Parameters: sURL - the database URI Parameters: sUsr - the database user name Parameters: sPwd - the database password an AbstractDataStoreInterface from the specifiedparameters throws: DataStoreException - if any of the given parameters are incorrect |
|
|