Package oracle.dbtools.plugin.api.jdbc
Interface JDBCDataSources
public interface JDBCDataSources
Provides information about the available
JDBCDataSources (database pools)- Author:
- cdivilly
-
Method Summary
Modifier and TypeMethodDescriptiondataSource(String host) Attempts to retrieve theJDBCDataSourcefor the specified DNS host nameRetrieves the defaultJDBCDataSourceif one is available.
-
Method Details
-
defaultDataSource
JDBCDataSource defaultDataSource()Retrieves the defaultJDBCDataSourceif one is available.- Returns:
JDBCDataSourceif one is available, null otherwise
-
dataSource
Attempts to retrieve theJDBCDataSourcefor the specified DNS host name- Parameters:
host- The host name to find aJDBCDataSourcefor- Returns:
JDBCDataSourceinstance or null if no match found for the specified host
-