public static class MDBHelper.ConnectionProviderImpl extends AbstractConnectionProvider implements ConnectionProvider
| Constructor and Description |
|---|
ConnectionProviderImpl(MDBConnectionParameters connectionParameters) |
| 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() |
void |
registerDriver() |
static void |
stopServer() |
java.lang.String |
toString() |
isDisposedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDisposedpublic ConnectionProviderImpl(MDBConnectionParameters connectionParameters)
public java.lang.String getStatus()
getStatus in interface ConnectionProvidergetStatus in class AbstractConnectionProviderpublic static void stopServer()
public java.lang.String toString()
toString in class java.lang.Objectpublic 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 Disposable