public interface NFEConnectionDataSource extends NFEDataSource
Modifier and Type | Method and Description |
---|---|
void |
initDatasource()
Initializes the data source to be able to serve DB connections.
|
void |
setConnectionData(DbConnectionData connectionData)
Sets the connection data.
|
void |
testConnection()
Tests a connection to the database.
|
getActiveWorkspace, getConnection, setActiveWorkspace
void setConnectionData(DbConnectionData connectionData)
connectionData
- the data for the connectionvoid initDatasource() throws InvalidDBConnectionException
InvalidDBConnectionException
- if the connection is not valid.void testConnection() throws java.lang.Exception
java.lang.Exception
- thrown if something goes wrong with the test.