public interface DriverLoader
Modifier and Type | Method and Description |
---|---|
javax.sql.DataSource |
getDataSourceInstance(java.util.Properties info)
Return the data source instance loading the run-time libraries as needed.
|
java.sql.Driver |
getDriverInstance(java.util.Properties info)
Return the driver instance loading the run-time libraries as needed.
|
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info)
Provide the caller a list of properties that must be provided to connect to the
appropriate driver implementation.
|
java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info)
url
- The URL for the driverinfo
- Additional properties already set when making the call.java.sql.Driver getDriverInstance(java.util.Properties info) throws DriverLoaderException
info
- A set of properties to use when constructing the driverDriverLoaderException
- on error.javax.sql.DataSource getDataSourceInstance(java.util.Properties info) throws DriverLoaderException
info
- A set of properties to use when contructing the data sourceDriverLoaderException
- on error.