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, dispose
public Connection getConnection() throws PersonalDBException
PersonalDBManager
Connection
the personal database.getConnection
in interface PersonalDBManager
PersonalDBException
- if there is an error getting the connectionpublic DataStoreParameters getDataStoreParameters() throws PersonalDBException
PersonalDBManager
DataStoreParameters
to connect to the personal database
through the DAL library.getDataStoreParameters
in interface PersonalDBManager
PersonalDBException
- if there is an error creating the parameterspublic DataStoreParameters getDataStoreParameters(String schema, String table) throws PersonalDBException
PersonalDBManager
DataStoreParameters
to connect to the personal database
through the DAL library.getDataStoreParameters
in interface PersonalDBManager
schema
- 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
PersonalDBManager
DataServerExplorerParameters
to connect to the personal
database
through the DAL library.getDataServerExplorerParameters
in interface PersonalDBManager
PersonalDBException
- if there is an error creating the parameterspublic DataServerExplorerParameters getDataServerExplorerParameters(String schema) throws PersonalDBException
PersonalDBManager
DataServerExplorerParameters
to connect to the personal
database
through the DAL library.getDataServerExplorerParameters
in interface PersonalDBManager
schema
- 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
AbstractDisposable
AbstractDisposable.dispose()
method, to be
implemented by child classes.doDispose
in class AbstractDisposable
BaseException
AbstractDisposable.dispose()