Interface CanConfigureOracleDataSource

  • All Known Implementing Classes:
    WalletArchive

    @Internal
    public interface CanConfigureOracleDataSource
    A trait interface for types that can contribute to the configuration of an OracleDataSourceAttributes instance.
    • Method Detail

      • configure

        default void configure​(oracle.jdbc.datasource.OracleCommonDataSource ods)
                        throws java.sql.SQLException,
                               java.io.IOException
        Convenience method to configure an OracleCommonDataSource sub-type.
        Parameters:
        ods - The data source to be configure
        Throws:
        java.sql.SQLException - if a database error occurs configuring the data source
        java.io.IOException - if an error occurs reading the state embodied in this instance
      • configure

        <T extends OracleDataSourceAttributes> T configure​(T dataSource)
                                                    throws java.sql.SQLException,
                                                           java.io.IOException
        Configure a data source using the state in this instance.
        Type Parameters:
        T - The data source type
        Parameters:
        dataSource - The data source to be configured
        Returns:
        The configured instance
        Throws:
        java.sql.SQLException - if a database error occurs
        java.io.IOException - if an error occurs reading the state embodied in this instance