|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.core.DriverFactory
public final class DriverFactory
Factory for Scriptella Service Providers and JDBC drivers.
| Method Summary | |
|---|---|
static ScriptellaDriver |
getDriver(java.lang.Class drvClass)
Creates a Scriptella Driver using specified class. |
static ScriptellaDriver |
getDriver(java.lang.String driverName,
java.lang.ClassLoader loader)
Loads a driver specified by a full or a short name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ScriptellaDriver getDriver(java.lang.String driverName,
java.lang.ClassLoader loader)
throws java.lang.ClassNotFoundException
The looking up procedure is the following:
driverName is looked up.
driverName - driver class short or full name.loader - class loader to use when loading driver classes.
java.lang.ClassNotFoundException - if no drivers satisfy specified name.public static ScriptellaDriver getDriver(java.lang.Class drvClass)
If class is a Driver JDBC Bridge is used.
To be successfully instantiated the driver class must implement ScriptellaDriver class
and has no-arg public constructor.
drvClass - driver class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||