Package oracle.dbtools.plugin.api.jdbc
Interface JDBCDataSources
-
public interface JDBCDataSourcesProvides information about the availableJDBCDataSources (database pools)- Author:
- cdivilly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JDBCDataSourcedataSource(java.lang.String host)Attempts to retrieve theJDBCDataSourcefor the specified DNS host nameJDBCDataSourcedefaultDataSource()Retrieves the defaultJDBCDataSourceif one is available.
-
-
-
Method Detail
-
defaultDataSource
JDBCDataSource defaultDataSource()
Retrieves the defaultJDBCDataSourceif one is available.- Returns:
JDBCDataSourceif one is available, null otherwise
-
dataSource
JDBCDataSource dataSource(java.lang.String host)
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
-
-