public class DatabaseConnectorRegistry extends Object implements IDatabaseConnectorRegistry
| Constructor and Description |
|---|
DatabaseConnectorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IPostConnectionProcedure procedure) |
void |
add(IRegisterableDatabaseConnector connector) |
Connection |
connect(String url,
String userName,
String password,
int timeout,
boolean isReadOnly) |
Connection |
connectReadOnly(IJdbcConnectionDescription description) |
Connection |
connectReadOnly(IJdbcConnectionDescription description,
int timeout) |
Connection |
connectReadOnly(String url,
String userName,
String password,
int timeout) |
Connection |
connectWritable(IJdbcConnectionDescription description) |
Connection |
connectWritable(IJdbcConnectionDescription description,
int timeout) |
Connection |
connectWritable(String url,
String userName,
String password,
int timeout) |
boolean |
isConnectable(String url,
String userName,
String password) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddisConnectablepublic Connection connectReadOnly(IJdbcConnectionDescription description) throws SQLException
connectReadOnly in interface IDatabaseConnectorSQLExceptionpublic Connection connectReadOnly(IJdbcConnectionDescription description, int timeout) throws SQLException
connectReadOnly in interface IDatabaseConnectorSQLExceptionpublic Connection connectReadOnly(String url, String userName, String password, int timeout) throws SQLException
connectReadOnly in interface IDatabaseConnectorSQLExceptionpublic Connection connectWritable(IJdbcConnectionDescription description) throws SQLException
connectWritable in interface IDatabaseConnectorSQLExceptionpublic Connection connectWritable(IJdbcConnectionDescription description, int timeout) throws SQLException
connectWritable in interface IDatabaseConnectorSQLExceptionpublic Connection connectWritable(String url, String userName, String password, int timeout) throws SQLException
connectWritable in interface IDatabaseConnectorSQLExceptionpublic Connection connect(String url, String userName, String password, int timeout, boolean isReadOnly) throws SQLException
SQLExceptionpublic void add(IPostConnectionProcedure procedure)
add in interface IDatabaseConnectorRegistrypublic void add(IRegisterableDatabaseConnector connector)
add in interface IDatabaseConnectorRegistrypublic boolean isConnectable(String url, String userName, String password)
isConnectable in interface IDatabaseConnectorCopyright © 2007–2019 Andreas W. Bartels. All rights reserved.