public interface ConfigurableDBConnectionService
| Modifier and Type | Method and Description |
|---|---|
void |
setConfigurations(java.lang.String systemId,
java.util.Dictionary[] configurations)
This method is invoked by mPRM system service to provide db connector service
with the configurations needed for establishing connections to all database servers
defined for use by mPRM.
|
com.prosyst.mprm.data.system.DBCatalogueInfo[] |
testConnection(java.util.Dictionary configuration)
This method is used to test the database server connectivity using a supplied
configuration.
|
void |
writeDBCatalogEntry(java.util.Dictionary configuration,
java.lang.String databaseName,
java.lang.String systemId,
java.lang.String version)
Writes DBCatalogueInfo entry in the system database table.
|
void setConfigurations(java.lang.String systemId,
java.util.Dictionary[] configurations)
systemId - the mPRM systemIdconfigurations - array of dictionary objects containing properties for
connecting to all database servers of the same type
as the connector service, defined during the mPRM
configuration process.com.prosyst.mprm.data.system.DBCatalogueInfo[] testConnection(java.util.Dictionary configuration)
throws ManagementException
configuration - dictionary object containing connect properties to a database server
of the same type as the specified type
defined in the mPRM configuration.ManagementException - if the connection can not be established.void writeDBCatalogEntry(java.util.Dictionary configuration,
java.lang.String databaseName,
java.lang.String systemId,
java.lang.String version)
throws DatabaseException
configuration - the connection propertiesdatabaseName - the name of the logical database service.systemId - the mPRM system id.version - the version of the database service.DatabaseException - if some error occures.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.