public interface DatabaseServerConfiguration
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BASE_DN |
static java.lang.String |
DB_SERVER_NAME |
static java.lang.String |
DB_SERVER_TYPE |
static java.lang.String |
DB_SERVER_TYPE_JDBC |
static java.lang.String |
DB_SERVER_TYPE_LDAP |
static java.lang.String |
DRIVER
The name of the driver class file.
|
static java.lang.String |
DRIVER_LIB
A stream to the jar or zip file of the driver class library.
|
static java.lang.String |
DRIVER_LIB_NAME
The name of the jar or zip driver class library file.
|
static java.lang.String |
HOST
LDAP database server property names
|
static java.lang.String |
MAX_CONNECTIONS
Maximum number of opened Connection per host.
|
static java.lang.String |
MAX_RO_CONNECTIONS
Maximum number of opened Read-Only Connection per host.
|
static java.lang.String |
MAX_STATEMENTS
Maximum number of opened statement per connection.
|
static java.lang.String |
PASSWORD |
static java.lang.String |
PORT |
static java.lang.String |
SYSTEM_DB_SERVER |
static java.lang.String |
URL
Database URL.
|
static java.lang.String |
USER
Common database server constants.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Dictionary |
getDBServerConfiguration(java.lang.String dbServerName)
Returns configuration properties for connecting to a database server with the
supplied name.
|
java.lang.String[] |
getDBServerNames()
Returns the names of the defined database servers.
|
java.lang.String[] |
getDBServerNames(java.lang.String serverType)
Returns the names of the defined database server names filtered by type.
|
java.io.InputStream |
getDriver(java.lang.String driverId)
Returns the library stream of the specified driver.
|
java.lang.String[] |
getDriverIds()
Returns array of identificators of the available drivers.
|
java.lang.String |
getSystemDBServer()
Returns the name of the database server which maintains basic mPRM system information,
including configuration of other database servers (if any), database service
configurations, defined management servers, etc.
|
void |
removeDriver(java.lang.String driverId)
Removes the driver with the specified id from the set of available drivers.
|
void |
uploadDriver(java.lang.String driverId,
java.io.InputStream stream)
Adds the driver with the specified id from the set of available drivers.
|
static final java.lang.String DB_SERVER_TYPE
static final java.lang.String DB_SERVER_TYPE_JDBC
static final java.lang.String DB_SERVER_TYPE_LDAP
static final java.lang.String DB_SERVER_NAME
static final java.lang.String SYSTEM_DB_SERVER
static final java.lang.String HOST
static final java.lang.String PORT
static final java.lang.String BASE_DN
static final java.lang.String URL
static final java.lang.String DRIVER
static final java.lang.String DRIVER_LIB_NAME
static final java.lang.String DRIVER_LIB
static final java.lang.String MAX_CONNECTIONS
static final java.lang.String MAX_RO_CONNECTIONS
static final java.lang.String MAX_STATEMENTS
static final java.lang.String USER
static final java.lang.String PASSWORD
java.lang.String[] getDBServerNames()
throws CommunicationException,
java.lang.Exception
{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionjava.lang.String[] getDBServerNames(java.lang.String serverType)
throws CommunicationException,
java.lang.Exception
serverType - the type of the database server.{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionjava.util.Dictionary getDBServerConfiguration(java.lang.String dbServerName)
throws CommunicationException,
java.lang.Exception
dbServerName - the name of the database server.{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionjava.lang.String getSystemDBServer()
throws CommunicationException,
java.lang.Exception
{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionjava.lang.String[] getDriverIds()
throws CommunicationException,
java.lang.Exception
{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionjava.io.InputStream getDriver(java.lang.String driverId)
throws CommunicationException,
java.lang.Exception
driverId - the driver identificator.{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionvoid removeDriver(java.lang.String driverId)
throws CommunicationException,
java.lang.Exception
driverId - the driver identificator{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionvoid uploadDriver(java.lang.String driverId,
java.io.InputStream stream)
throws CommunicationException,
java.lang.Exception
driverId - the driver identificatorstream - the driver library stream{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.ExceptionCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.