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 Summary
Modifier and TypeMethodDescriptiondefault void
configure
(oracle.jdbc.datasource.OracleCommonDataSource ods) Convenience method to configure anOracleCommonDataSource
sub-type.<T extends OracleDataSourceAttributes>
Tconfigure
(T dataSource) Configure a data source using the state in this instance.
-
Method Details
-
configure
default void configure(oracle.jdbc.datasource.OracleCommonDataSource ods) throws SQLException, IOException Convenience method to configure anOracleCommonDataSource
sub-type.- Parameters:
ods
- The data source to be configure- Throws:
SQLException
- if a database error occurs configuring the data sourceIOException
- if an error occurs reading the state embodied in this instance
-
configure
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:
SQLException
- if a database error occursIOException
- if an error occurs reading the state embodied in this instance
-