oracle.dbtools.plugin.api.jdbc

## Interface JDBCDataSources

-     public interface JDBCDataSources

  Provides information about the available `JDBCDataSource`s (database pools)
  Author:
    cdivilly

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `JDBCDataSource` | `dataSource(String host)` Attempts to retrieve the `JDBCDataSource` for the specified DNS host name
    `JDBCDataSource` | `defaultDataSource()` Retrieves the default `JDBCDataSource` if one is available.

- - ### Method Detail

    - #### defaultDataSource

          JDBCDataSource defaultDataSource()

      Retrieves the default `JDBCDataSource` if one is available.
      Returns:
        `JDBCDataSource` if one is available, null otherwise

    - #### dataSource

          JDBCDataSource dataSource(String host)

      Attempts to retrieve the `JDBCDataSource` for the specified DNS host name
      Parameters:
        `host` - The host name to find a `JDBCDataSource` for
      Returns:
        `JDBCDataSource` instance or null if no match found for the specified host

Copyright © 2010, 2022, Oracle and/or its affiliates.