Package oracle.dbtools.plugin.api.jdbc
Interface JDBCDataSources
-
public interface JDBCDataSources
Provides information about the availableJDBCDataSource
s (database pools)- Author:
- cdivilly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JDBCDataSource
dataSource(java.lang.String host)
Attempts to retrieve theJDBCDataSource
for the specified DNS host nameJDBCDataSource
defaultDataSource()
Retrieves the defaultJDBCDataSource
if one is available.
-
-
-
Method Detail
-
defaultDataSource
JDBCDataSource defaultDataSource()
Retrieves the defaultJDBCDataSource
if one is available.- Returns:
JDBCDataSource
if one is available, null otherwise
-
dataSource
JDBCDataSource dataSource(java.lang.String host)
Attempts to retrieve theJDBCDataSource
for the specified DNS host name- Parameters:
host
- The host name to find aJDBCDataSource
for- Returns:
JDBCDataSource
instance or null if no match found for the specified host
-
-