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, setActiveWorkspacevoid setConnectionData(DbConnectionData connectionData)
connectionData - the data for the connection
void 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.