public class DefaultPersonalDBManager extends AbstractDisposable implements PersonalDBManager
PersonalDBManager implementation.| Constructor and Description |
|---|
DefaultPersonalDBManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
Connection |
getConnection()
Returns a
Connection the personal database. |
DataServerExplorerParameters |
getDataServerExplorerParameters()
Returns a
DataServerExplorerParameters to connect to the personal
database
through the DAL library. |
DataServerExplorerParameters |
getDataServerExplorerParameters(String schema)
Returns a
DataServerExplorerParameters to connect to the personal
database
through the DAL library. |
DataStoreParameters |
getDataStoreParameters()
Returns a
DataStoreParameters to connect to the personal database
through the DAL library. |
DataStoreParameters |
getDataStoreParameters(String schema,
String table)
Returns a
DataStoreParameters to connect to the personal database
through the DAL library. |
void |
open(JDBCResourceParameters resourceParameters) |
dispose, disposepublic Connection getConnection() throws PersonalDBException
PersonalDBManagerConnection the personal database.getConnection in interface PersonalDBManagerPersonalDBException - if there is an error getting the connectionpublic DataStoreParameters getDataStoreParameters() throws PersonalDBException
PersonalDBManagerDataStoreParameters to connect to the personal database
through the DAL library.getDataStoreParameters in interface PersonalDBManagerPersonalDBException - if there is an error creating the parameterspublic DataStoreParameters getDataStoreParameters(String schema, String table) throws PersonalDBException
PersonalDBManagerDataStoreParameters to connect to the personal database
through the DAL library.getDataStoreParameters in interface PersonalDBManagerschema - the schema of the table to load data fromtable - the name of the table to load data fromPersonalDBException - if there is an error creating the parameterspublic DataServerExplorerParameters getDataServerExplorerParameters() throws PersonalDBException
PersonalDBManagerDataServerExplorerParameters to connect to the personal
database
through the DAL library.getDataServerExplorerParameters in interface PersonalDBManagerPersonalDBException - if there is an error creating the parameterspublic DataServerExplorerParameters getDataServerExplorerParameters(String schema) throws PersonalDBException
PersonalDBManagerDataServerExplorerParameters to connect to the personal
database
through the DAL library.getDataServerExplorerParameters in interface PersonalDBManagerschema - the schema of the database to connect toPersonalDBException - if there is an error creating the parameterspublic void open(JDBCResourceParameters resourceParameters)
protected void doDispose()
throws BaseException
AbstractDisposableAbstractDisposable.dispose() method, to be
implemented by child classes.doDispose in class AbstractDisposableBaseExceptionAbstractDisposable.dispose()