public class FakeConnectionProvider extends AbstractConnectionProvider implements ConnectionProvider
| Constructor and Description |
|---|
FakeConnectionProvider() |
FakeConnectionProvider(JDBCConnectionParameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes the current object, to allow it to close and dispose any used
resources.
|
java.sql.Connection |
getConnection() |
java.lang.String |
getStatus() |
boolean |
isDisposed() |
void |
registerDriver() |
public FakeConnectionProvider()
public FakeConnectionProvider(JDBCConnectionParameters parameters)
public java.lang.String getStatus()
getStatus in interface ConnectionProvidergetStatus in class AbstractConnectionProviderpublic java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface ConnectionProviderjava.sql.SQLExceptionpublic void registerDriver()
throws java.sql.SQLException
registerDriver in interface ConnectionProviderjava.sql.SQLExceptionpublic void dispose()
DisposableNOTE:After calling this method, the object may not be usable anymore.
dispose in interface Disposablepublic boolean isDisposed()
isDisposed in interface ConnectionProviderisDisposed in class AbstractConnectionProvider