LibreOffice Module connectivity (master) 1
|
#include <ConnectionWrapper.hxx>
Public Member Functions | |
OConnectionWrapper () | |
DECLARE_SERVICE_INFO () | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &_rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual sal_Int64 SAL_CALL | getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override |
Public Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 > | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Static Public Member Functions | |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
static void | createUniqueId (const OUString &_rURL, css::uno::Sequence< css::beans::PropertyValue > &_rInfo, sal_uInt8 *_pBuffer, const OUString &_rUserName=OUString(), const OUString &_rPassword=OUString()) |
method to create unique ids More... | |
Protected Member Functions | |
virtual | ~OConnectionWrapper () |
void | setDelegation (css::uno::Reference< css::uno::XAggregation > &_rxProxyConnection, oslInterlockedCount &_rRefCount) |
void | setDelegation (const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, oslInterlockedCount &_rRefCount) |
void | disposing () |
Protected Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 > | |
~ImplHelper2 () SAL_NOEXCEPT | |
Protected Attributes | |
css::uno::Reference< css::uno::XAggregation > | m_xProxyConnection |
css::uno::Reference< css::sdbc::XConnection > | m_xConnection |
css::uno::Reference< css::lang::XTypeProvider > | m_xTypeProvider |
css::uno::Reference< css::lang::XUnoTunnel > | m_xUnoTunnel |
css::uno::Reference< css::lang::XServiceInfo > | m_xServiceInfo |
Definition at line 44 of file ConnectionWrapper.hxx.
|
protectedvirtual |
Definition at line 98 of file ConnectionWrapper.cxx.
References m_xProxyConnection.
OConnectionWrapper::OConnectionWrapper | ( | ) |
Definition at line 39 of file ConnectionWrapper.cxx.
|
static |
method to create unique ids
_rURL | The URL. |
_rInfo | The info property of the datasource. It will be resorted if needed. |
_pBuffer | Here we store the digest. Must not NULL. |
_rUserName | The user name. |
_rPassword | The password. |
Definition at line 188 of file ConnectionWrapper.cxx.
References aSeq, begin, end, comphelper::Hash::finalize(), nValue, result, and comphelper::Hash::update().
Referenced by connectivity::OConnectionPool::createNewConnection(), and connectivity::OConnectionPool::getConnectionWithInfo().
connectivity::OConnectionWrapper::DECLARE_SERVICE_INFO | ( | ) |
References queryInterface().
|
protected |
Definition at line 93 of file ConnectionWrapper.cxx.
References m_xConnection.
Referenced by connectivity::OConnectionWeakWrapper::disposing(), and connectivity::hsqldb::OHsqlConnection::disposing().
|
overridevirtual |
Definition at line 154 of file ConnectionWrapper.cxx.
References comphelper::getSomething_cast(), and m_xUnoTunnel.
Reimplemented from cppu::ImplHelper2< class Ifc1, class Ifc2 >.
Definition at line 145 of file ConnectionWrapper.cxx.
References cppu::ImplHelper2< class Ifc1, class Ifc2 >::getTypes(), and m_xTypeProvider.
Definition at line 165 of file ConnectionWrapper.cxx.
References comphelper::UnoIdInit::getSeq().
|
overridevirtual |
Reimplemented from cppu::ImplHelper2< class Ifc1, class Ifc2 >.
Definition at line 139 of file ConnectionWrapper.cxx.
References Any, m_xProxyConnection, and cppu::ImplHelper2< class Ifc1, class Ifc2 >::queryInterface().
|
protected |
|
protected |
|
protected |
Definition at line 48 of file ConnectionWrapper.hxx.
Referenced by connectivity::OConnectionWeakWrapper::commit(), disposing(), connectivity::OConnectionWeakWrapper::getAutoCommit(), connectivity::OConnectionWeakWrapper::getCatalog(), connectivity::OConnectionWeakWrapper::getMetaData(), connectivity::OConnectionWeakWrapper::getTransactionIsolation(), connectivity::OConnectionWeakWrapper::getTypeMap(), connectivity::OConnectionWeakWrapper::isClosed(), connectivity::OConnectionWeakWrapper::isReadOnly(), connectivity::OConnectionWeakWrapper::nativeSQL(), connectivity::OConnectionWeakWrapper::OConnectionWeakWrapper(), connectivity::OConnectionWeakWrapper::prepareCall(), connectivity::OConnectionWeakWrapper::prepareStatement(), connectivity::OConnectionWeakWrapper::rollback(), connectivity::OConnectionWeakWrapper::setAutoCommit(), connectivity::OConnectionWeakWrapper::setCatalog(), connectivity::OConnectionWeakWrapper::setReadOnly(), connectivity::OConnectionWeakWrapper::setTransactionIsolation(), and connectivity::OConnectionWeakWrapper::setTypeMap().
|
protected |
Definition at line 47 of file ConnectionWrapper.hxx.
Referenced by queryInterface(), and ~OConnectionWrapper().
|
protected |
Definition at line 51 of file ConnectionWrapper.hxx.
|
protected |
Definition at line 49 of file ConnectionWrapper.hxx.
Referenced by getTypes().
|
protected |
Definition at line 50 of file ConnectionWrapper.hxx.
Referenced by getSomething().