Method Summary |
|
public static synchronized Iterator | getAvailableDataSources() Finds all implemtaions of DataStoreFactory which have registered using the services
mechanism, and that have the appropriate libraries on the classpath. |
public static synchronized DataSource | getDataSource(Map params) Checks each available datasource implementation in turn and returns the first one which
claims to support the resource identified by the params object.
Parameters: params - A Map object which contains a defenition of the resource to connect to. |
public static synchronized UnWrapper | getUnWrapper(Connection conn) Checks each available datasource implementation in turn and returns the first one which
claims to support the resource identified by the params object.
Parameters: params - A Map object which contains a defenition of the resource to connect to. |
public static synchronized UnWrapper | getUnWrapper(Statement st) Checks each available
UnWrapper implementation in turn and returns the first one which
claims to support the resource identified by the params object.
Parameters: params - A Map object which contains a defenition of the resource to connect to. |
public static synchronized Iterator | getUnWrappers() Finds all implemtaions of DataStoreFactory which have registered using the services
mechanism, and that have the appropriate libraries on the classpath. |
public static synchronized void | scanForPlugins() Scans for factory plug-ins on the application class path. |