|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sql.generation.api.vendor.SQLVendorProvider
public class SQLVendorProvider
This class provides easy way of acquiring vendors for specific databases.
| Constructor Summary | |
|---|---|
SQLVendorProvider()
|
|
| Method Summary | ||
|---|---|---|
static
|
createVendor(java.lang.Class<VendorType> vendorClass)
Creates a new vendor. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLVendorProvider()
| Method Detail |
|---|
public static <VendorType extends SQLVendor> VendorType createVendor(java.lang.Class<VendorType> vendorClass)
throws java.io.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.
java.io.IOException - If ServiceLoader throws IOException.ServiceLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||