Interface CanConfigureOracleDataSource
-
- All Known Implementing Classes:
WalletArchive
@Internal public interface CanConfigureOracleDataSource
A trait interface for types that can contribute to the configuration of anOracleDataSourceAttributes
instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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 Detail
-
configure
default void configure(oracle.jdbc.datasource.OracleCommonDataSource ods) throws java.sql.SQLException, java.io.IOException
Convenience method to configure anOracleCommonDataSource
sub-type.- Parameters:
ods
- The data source to be configure- Throws:
java.sql.SQLException
- if a database error occurs configuring the data sourcejava.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 occursjava.io.IOException
- if an error occurs reading the state embodied in this instance
-
-