#include <UserSession.h>
UserSession is an implementation of the ISession interface
Definition at line 27 of file UserSession.h.
◆ UserSession() [1/2]
pool::PersistencySvc::UserSession::UserSession |
( |
IFileCatalog & |
fileCatalog | ) |
|
◆ ~UserSession()
virtual pool::PersistencySvc::UserSession::~UserSession |
( |
| ) |
|
|
virtual |
◆ UserSession() [2/2]
◆ connectedDatabases()
std::vector< std::string > pool::PersistencySvc::UserSession::connectedDatabases |
( |
| ) |
const |
|
virtual |
Returns a vector with the file identifiers of the presently open databases.
Implements pool::ISession.
◆ databaseHandle()
Returns a pointer to a database object. The user acquires ownership of that object.
Implements pool::ISession.
◆ defaultConnectionPolicy()
◆ disconnectAll()
bool pool::PersistencySvc::UserSession::disconnectAll |
( |
| ) |
|
|
virtual |
Explicitly disconnects all the databases.
If a transaction is active, then all the changes since the last commit are aborted.
Implements pool::ISession.
◆ fileCatalog()
IFileCatalog& pool::PersistencySvc::UserSession::fileCatalog |
( |
| ) |
|
|
virtual |
◆ globalTransaction()
ITransaction& pool::PersistencySvc::UserSession::globalTransaction |
( |
| ) |
|
Returns the global transaction object.
◆ operator=()
◆ registry()
◆ setDefaultConnectionPolicy()
Sets the default policy when databases are opened/connected.
Implements pool::ISession.
◆ setFileCatalog()
void pool::PersistencySvc::UserSession::setFileCatalog |
( |
IFileCatalog & |
catalog | ) |
|
Set the file catalog to be used.
◆ technologyDispatcher()
◆ technologySpecificAttributes() [1/2]
◆ technologySpecificAttributes() [2/2]
Returns the object holding the technology specific attributes for a given technology domain.
Implements pool::ISession.
◆ transaction() [1/2]
ITransaction& pool::PersistencySvc::UserSession::transaction |
( |
| ) |
|
|
virtual |
◆ transaction() [2/2]
◆ m_catalog
◆ m_policy
◆ m_registry
◆ m_technologyDispatcher
◆ m_transaction
The documentation for this class was generated from the following file: