Interface NFEConnectionDataSource
-
- All Superinterfaces:
NFEDataSource
- All Known Implementing Classes:
JdbcDataSource
public interface NFEConnectionDataSource extends NFEDataSource
This interface defines methods related to the Connection handling.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface oracle.spatial.network.nfe.io.NFEDataSource
getActiveWorkspace, getConnection, setActiveWorkspace
-
-
-
-
Method Detail
-
setConnectionData
void setConnectionData(DbConnectionData connectionData)
Sets the connection data.- Parameters:
connectionData
- the data for the connection
-
initDatasource
void initDatasource() throws InvalidDBConnectionException
Initializes the data source to be able to serve DB connections.- Throws:
InvalidDBConnectionException
- if the connection is not valid.
-
testConnection
void testConnection() throws java.lang.Exception
Tests a connection to the database.- Throws:
java.lang.Exception
- thrown if something goes wrong with the test.
-
-