delegates all calls to the original driver and extend the existing one with the SDBCX layer.
More...
#include <YDriver.hxx>
|
| | ODriverDelegator (const css::uno::Reference< css::uno::XComponentContext > &_rxContext) |
| | creates a new delegator for a mysql 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 |
| |
|
| css::uno::Reference< css::sdbc::XDriver > | loadDriver (std::u16string_view url, const css::uno::Sequence< css::beans::PropertyValue > &info) |
| | load the driver we want to delegate. More...
|
| |
delegates all calls to the original driver and extend the existing one with the SDBCX layer.
Definition at line 55 of file YDriver.hxx.
◆ ODriverDelegator()
| connectivity::mysql::ODriverDelegator::ODriverDelegator |
( |
const css::uno::Reference< css::uno::XComponentContext > & |
_rxContext | ) |
|
creates a new delegator for a mysql driver
◆ ~ODriverDelegator()
| virtual connectivity::mysql::ODriverDelegator::~ODriverDelegator |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ acceptsURL()
| virtual sal_Bool SAL_CALL connectivity::mysql::ODriverDelegator::acceptsURL |
( |
const OUString & |
url | ) |
|
|
overridevirtual |
◆ connect()
| virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connectivity::mysql::ODriverDelegator::connect |
( |
const OUString & |
url, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
info |
|
) |
| |
|
overridevirtual |
◆ DECLARE_SERVICE_INFO()
| connectivity::mysql::ODriverDelegator::DECLARE_SERVICE_INFO |
( |
| ) |
|
◆ disposing()
| virtual void SAL_CALL connectivity::mysql::ODriverDelegator::disposing |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getDataDefinitionByConnection()
| virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL connectivity::mysql::ODriverDelegator::getDataDefinitionByConnection |
( |
const css::uno::Reference< css::sdbc::XConnection > & |
connection | ) |
|
|
overridevirtual |
◆ getDataDefinitionByURL()
| virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL connectivity::mysql::ODriverDelegator::getDataDefinitionByURL |
( |
const OUString & |
url, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
info |
|
) |
| |
|
overridevirtual |
◆ getMajorVersion()
| virtual sal_Int32 SAL_CALL connectivity::mysql::ODriverDelegator::getMajorVersion |
( |
| ) |
|
|
overridevirtual |
◆ getMinorVersion()
| virtual sal_Int32 SAL_CALL connectivity::mysql::ODriverDelegator::getMinorVersion |
( |
| ) |
|
|
overridevirtual |
◆ getPropertyInfo()
| virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL connectivity::mysql::ODriverDelegator::getPropertyInfo |
( |
const OUString & |
url, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
info |
|
) |
| |
|
overridevirtual |
◆ loadDriver()
| css::uno::Reference< css::sdbc::XDriver > connectivity::mysql::ODriverDelegator::loadDriver |
( |
std::u16string_view |
url, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
info |
|
) |
| |
|
private |
load the driver we want to delegate.
The <member>m_xODBCDriver</member> or <member>m_xDBCDriver</member> may be <NULL> if the driver could not be loaded.
- Parameters
-
| url | The URL. |
| info | The property info contains which driver we have to delegate. |
- Returns
- The driver which was currently selected.
◆ m_aConnections
◆ m_aJdbcDrivers
| TJDBCDrivers connectivity::mysql::ODriverDelegator::m_aJdbcDrivers |
|
private |
◆ m_xContext
| css::uno::Reference< css::uno::XComponentContext > connectivity::mysql::ODriverDelegator::m_xContext |
|
private |
◆ m_xNativeDriver
| css::uno::Reference< css::sdbc::XDriver > connectivity::mysql::ODriverDelegator::m_xNativeDriver |
|
private |
◆ m_xODBCDriver
| css::uno::Reference< css::sdbc::XDriver > connectivity::mysql::ODriverDelegator::m_xODBCDriver |
|
private |
The documentation for this class was generated from the following file: