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 voidinitDatasource()Initializes the data source to be able to serve DB connections.voidsetConnectionData(DbConnectionData connectionData)Sets the connection data.voidtestConnection()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 InvalidDBConnectionExceptionInitializes the data source to be able to serve DB connections.- Throws:
InvalidDBConnectionException- if the connection is not valid.
-
testConnection
void testConnection() throws java.lang.ExceptionTests a connection to the database.- Throws:
java.lang.Exception- thrown if something goes wrong with the test.
-
-