|
| OSharedConnectionManager (const Reference< XComponentContext > &_rxContext) |
|
void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
|
Reference< XConnection > | getConnection (const OUString &url, const OUString &user, const OUString &password, const Sequence< PropertyValue > &_aInfo, ODatabaseSource *_pDataSource) |
|
void | addEventListener (const Reference< XConnection > &_rxConnection, TConnectionMap::iterator const &_rIter) |
|
Definition at line 271 of file datasource.cxx.
◆ TConnectionMap
◆ TSharedConnectionMap
◆ ~OSharedConnectionManager()
dbaccess::OSharedConnectionManager::~OSharedConnectionManager |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OSharedConnectionManager()
dbaccess::OSharedConnectionManager::OSharedConnectionManager |
( |
const Reference< XComponentContext > & |
_rxContext | ) |
|
|
explicit |
◆ addEventListener()
void dbaccess::OSharedConnectionManager::addEventListener |
( |
const Reference< XConnection > & |
_rxConnection, |
|
|
TConnectionMap::iterator const & |
_rIter |
|
) |
| |
◆ disposing()
void SAL_CALL dbaccess::OSharedConnectionManager::disposing |
( |
const css::lang::EventObject & |
Source | ) |
|
|
override |
◆ getConnection()
Reference< XConnection > dbaccess::OSharedConnectionManager::getConnection |
( |
const OUString & |
url, |
|
|
const OUString & |
user, |
|
|
const OUString & |
password, |
|
|
const Sequence< PropertyValue > & |
_aInfo, |
|
|
ODatabaseSource * |
_pDataSource |
|
) |
| |
Definition at line 342 of file datasource.cxx.
References addEventListener(), dbaccess::ODatabaseSource::buildIsolatedConnection(), connectivity::OConnectionWrapper::createUniqueId(), m_aConnections, m_aMutex, m_aSharedConnection, dbaccess::ModelDependentComponent::m_pImpl, m_xProxyFactory, dbaccess::OSharedConnectionManager::TConnectionHolder::nALiveCount, nId, nPos, and dbaccess::OSharedConnectionManager::TConnectionHolder::xMasterConnection.
◆ m_aConnections
◆ m_aMutex
::osl::Mutex dbaccess::OSharedConnectionManager::m_aMutex |
|
private |
◆ m_aSharedConnection
◆ m_xProxyFactory
Reference< XProxyFactory > dbaccess::OSharedConnectionManager::m_xProxyFactory |
|
private |
The documentation for this class was generated from the following file: