public class DefaultDatabaseConnector extends Object implements IRegisterableDatabaseConnector
| Constructor and Description |
|---|
DefaultDatabaseConnector() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
connect(String url,
String userName,
String password,
int timeout,
boolean isReadOnly) |
Connection |
connectReadOnly(String url,
String userName,
String password,
int timeout) |
Connection |
connectWritable(String url,
String userName,
String password,
int timeout) |
boolean |
isApplicable(String context) |
boolean |
isConnectable(String url,
String userName,
String password) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectReadOnly, connectReadOnly, connectWritable, connectWritable, isConnectableand, not, orpublic Connection connectReadOnly(String url, String userName, String password, int timeout) throws SQLException
connectReadOnly 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 boolean isApplicable(String context)
isApplicable in interface IApplicable<String>public boolean isConnectable(String url, String userName, String password)
isConnectable in interface IDatabaseConnectorCopyright © 2007–2019 Andreas W. Bartels. All rights reserved.