|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.impl.config.ds.DataSourceProxyManager
@ThreadSafe public final class DataSourceProxyManager
Manager for connector implementations.
Method Summary | |
---|---|
static DataSourceConnector |
getConnectorFor(String databaseId) Returns the first matching driver for a database identified by the given id . |
static void |
register(DataSourceConnector connector) Registers the given connector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void register(DataSourceConnector connector)
connector
- the new connector to be registered.
public static DataSourceConnector getConnectorFor(String databaseId) throws IllegalStateException
id
.
databaseId
- the identifier of the database.
IllegalStateException
- if no suitable connector has been registered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |