5#ifndef INCLUDE_PERSISTENCYSVC_TECHNOLOGYDISPATCHER_H
6#define INCLUDE_PERSISTENCYSVC_TECHNOLOGYDISPATCHER_H
ITransaction is the interface class for user (macroscopic transactions) Every operation with the pool...
MicroSessionManager is a class taking care of starting sessions for a given major technology and mana...
DatabaseRegistry & m_registry
const MicroSessionManager & microSessionManager(long technology) const
ITransaction & m_transaction
bool disconnectAll()
Disconnects from all the databases.
std::map< long, MicroSessionManager * > m_technologyTypes
std::map< std::string, MicroSessionManager * > m_technologyNames
const MicroSessionManager & microSessionManager(const std::string &technology) const
MicroSessionManager & microSessionManager(long technology)
Returns the technology given a technology type.
~TechnologyDispatcher()
Destructor.
MicroSessionManager & microSessionManager(const std::string &technology)
TechnologyDispatcher(DatabaseRegistry ®istry, ITransaction &transaction)
Constructor.