delegates all calls to the original driver and extend the existing one with the SDBCX layer.
More...
#include <HDriver.hxx>
|
| | ODriverDelegator (const css::uno::Reference< css::uno::XComponentContext > &_rxContext) |
| | creates a new delegator for a HSQLDB driver More...
|
| |
| | DECLARE_SERVICE_INFO () |
| |
| virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL | connect (const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override |
| |
| virtual sal_Bool SAL_CALL | acceptsURL (const OUString &url) override |
| |
| virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL | getPropertyInfo (const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override |
| |
| virtual sal_Int32 SAL_CALL | getMajorVersion () override |
| |
| virtual sal_Int32 SAL_CALL | getMinorVersion () override |
| |
| virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL | getDataDefinitionByConnection (const css::uno::Reference< css::sdbc::XConnection > &connection) override |
| |
| virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL | getDataDefinitionByURL (const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override |
| |
| virtual void SAL_CALL | createCatalog (const css::uno::Sequence< css::beans::PropertyValue > &info) override |
| |
| virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
| |
| virtual void SAL_CALL | preCommit (const css::lang::EventObject &aEvent) override |
| |
| virtual void SAL_CALL | commited (const css::lang::EventObject &aEvent) override |
| |
| virtual void SAL_CALL | preRevert (const css::lang::EventObject &aEvent) override |
| |
| virtual void SAL_CALL | reverted (const css::lang::EventObject &aEvent) override |
| |
| void | shutdownConnections () |
| |
| void | flushConnections () |
| |
delegates all calls to the original driver and extend the existing one with the SDBCX layer.
Definition at line 51 of file HDriver.hxx.
◆ ODriverDelegator()
| connectivity::hsqldb::ODriverDelegator::ODriverDelegator |
( |
const css::uno::Reference< css::uno::XComponentContext > & |
_rxContext | ) |
|
creates a new delegator for a HSQLDB driver
◆ ~ODriverDelegator()
| connectivity::ODriverDelegator::~ODriverDelegator |
( |
| ) |
|
|
overrideprivatevirtual |
◆ acceptsURL()
| sal_Bool SAL_CALL connectivity::ODriverDelegator::acceptsURL |
( |
const OUString & |
url | ) |
|
|
overridevirtual |
◆ commited()
| void SAL_CALL connectivity::ODriverDelegator::commited |
( |
const css::lang::EventObject & |
aEvent | ) |
|
|
overridevirtual |
◆ connect()
| virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connectivity::hsqldb::ODriverDelegator::connect |
( |
const OUString & |
url, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
info |
|
) |
| |
|
overridevirtual |
◆ createCatalog()
| void SAL_CALL connectivity::ODriverDelegator::createCatalog |
( |
const css::uno::Sequence< css::beans::PropertyValue > & |
info | ) |
|
|
overridevirtual |
◆ DECLARE_SERVICE_INFO()
| connectivity::hsqldb::ODriverDelegator::DECLARE_SERVICE_INFO |
( |
| ) |
|
◆ disposing() [1/2]
| void connectivity::ODriverDelegator::disposing |
( |
| ) |
|
|
overrideprivatevirtual |
◆ disposing() [2/2]
| void SAL_CALL connectivity::ODriverDelegator::disposing |
( |
const css::lang::EventObject & |
Source | ) |
|
|
overridevirtual |
◆ flushConnections()
| void connectivity::ODriverDelegator::flushConnections |
( |
| ) |
|
◆ getDataDefinitionByConnection()
| virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL connectivity::hsqldb::ODriverDelegator::getDataDefinitionByConnection |
( |
const css::uno::Reference< css::sdbc::XConnection > & |
connection | ) |
|
|
overridevirtual |
◆ getDataDefinitionByURL()
| virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL connectivity::hsqldb::ODriverDelegator::getDataDefinitionByURL |
( |
const OUString & |
url, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
info |
|
) |
| |
|
overridevirtual |
◆ getMajorVersion()
| sal_Int32 SAL_CALL connectivity::ODriverDelegator::getMajorVersion |
( |
| ) |
|
|
overridevirtual |
◆ getMinorVersion()
| sal_Int32 SAL_CALL connectivity::ODriverDelegator::getMinorVersion |
( |
| ) |
|
|
overridevirtual |
◆ getPropertyInfo()
| virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL connectivity::hsqldb::ODriverDelegator::getPropertyInfo |
( |
const OUString & |
url, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
info |
|
) |
| |
|
overridevirtual |
◆ loadDriver()
| Reference< XDriver > const & connectivity::ODriverDelegator::loadDriver |
( |
| ) |
|
|
private |
load the driver we want to delegate.
The <member>m_xDriver</member> may be <NULL> if the driver could not be loaded.
- Returns
- The driver which was currently selected.
Definition at line 120 of file HDriver.cxx.
References m_xContext.
◆ onConnectedNewDatabase()
| void connectivity::ODriverDelegator::onConnectedNewDatabase |
( |
const css::uno::Reference< css::sdbc::XConnection > & |
_rxConnection | ) |
|
|
private |
◆ preCommit()
| void SAL_CALL connectivity::ODriverDelegator::preCommit |
( |
const css::lang::EventObject & |
aEvent | ) |
|
|
overridevirtual |
◆ preRevert()
| void SAL_CALL connectivity::ODriverDelegator::preRevert |
( |
const css::lang::EventObject & |
aEvent | ) |
|
|
overridevirtual |
◆ reverted()
| void SAL_CALL connectivity::ODriverDelegator::reverted |
( |
const css::lang::EventObject & |
aEvent | ) |
|
|
overridevirtual |
◆ shutdownConnection()
| void connectivity::ODriverDelegator::shutdownConnection |
( |
const TWeakPairVector::iterator & |
_aIter | ) |
|
|
private |
shut down the connection and revoke the storage from the map
- Parameters
-
| _aIter | The connection to shut down and storage to revoke. |
Definition at line 524 of file HDriver.cxx.
References Exception.
◆ shutdownConnections()
| void connectivity::ODriverDelegator::shutdownConnections |
( |
| ) |
|
◆ m_aConnections
◆ m_bInShutDownConnections
| bool connectivity::hsqldb::ODriverDelegator::m_bInShutDownConnections |
|
private |
◆ m_xContext
| css::uno::Reference< css::uno::XComponentContext > connectivity::hsqldb::ODriverDelegator::m_xContext |
|
private |
◆ m_xDriver
| css::uno::Reference< css::sdbc::XDriver > connectivity::hsqldb::ODriverDelegator::m_xDriver |
|
private |
The documentation for this class was generated from the following files: