public class EsDriverLoaderV232 extends java.lang.Object implements DriverLoader
Constructor and Description |
---|
EsDriverLoaderV232() |
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.
|
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info)
getPropertyInfo
in interface DriverLoader
url
- The URL for the driverinfo
- Additional properties already set when making the call.public java.sql.Driver getDriverInstance(java.util.Properties info) throws DriverLoaderException
getDriverInstance
in interface DriverLoader
info
- A set of properties to use when constructing the driverDriverLoaderException
- on error.public javax.sql.DataSource getDataSourceInstance(java.util.Properties info) throws DriverLoaderException
getDataSourceInstance
in interface DriverLoader
info
- A set of properties to use when contructing the data sourceDriverLoaderException
- on error.