public class SQLVendorProvider extends Object
| Constructor and Description |
|---|
SQLVendorProvider() |
| Modifier and Type | Method and Description |
|---|---|
static <VendorType extends SQLVendor> |
createVendor(Class<VendorType> vendorClass)
Creates a new vendor.
|
public static <VendorType extends SQLVendor> VendorType createVendor(Class<VendorType> vendorClass) throws IOException
Creates a new vendor. If one passes SQLVendor as a parameter, it will return the default vendor-neutral
implementation.
Invoking this statement is equivalent to calling new ServiceLoader().firstProvider( vendorClass); .
VendorType - The type of the vendor.vendorClass - The class of the vendor.IOException - If ServiceLoader throws IOException.ServiceLoaderCopyright © 2010-2012. All Rights Reserved.