LibreOffice Module connectivity (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
connectivity::macab::MacabDriver Class Reference

#include <MacabDriver.hxx>

Inheritance diagram for connectivity::macab::MacabDriver:
[legend]
Collaboration diagram for connectivity::macab::MacabDriver:
[legend]

Public Member Functions

css::uno::Reference< css::uno::XComponentContext > const & getComponentContext () const
 
 MacabDriver (const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
 

Static Public Member Functions

static OUString impl_getConfigurationSettingsPath ()
 returns the path of our configuration settings More...
 

Protected Member Functions

virtual void SAL_CALL disposing () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
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 void SAL_CALL queryTermination (const css::lang::EventObject &Event) override
 
virtual void SAL_CALL notifyTermination (const css::lang::EventObject &Event) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 

Protected Attributes

::osl::Mutex m_aMutex
 
OWeakRefArray m_xConnections
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
MacabImplModule m_aImplModule
 

Private Member Functions

void impl_shutdownImplementationModule ()
 shuts down the library which contains the real implementations More...
 

Detailed Description

Definition at line 106 of file MacabDriver.hxx.

Constructor & Destructor Documentation

◆ MacabDriver()

MacabDriver::MacabDriver ( const css::uno::Reference< css::uno::XComponentContext > &  _rxContext)
explicit

Member Function Documentation

◆ acceptsURL()

sal_Bool SAL_CALL MacabDriver::acceptsURL ( const OUString &  url)
overrideprotectedvirtual

◆ connect()

Reference< XConnection > SAL_CALL MacabDriver::connect ( const OUString &  url,
const css::uno::Sequence< css::beans::PropertyValue > &  info 
)
overrideprotectedvirtual

◆ disposing() [1/2]

void MacabDriver::disposing ( )
overrideprotectedvirtual

◆ disposing() [2/2]

virtual void SAL_CALL connectivity::macab::MacabDriver::disposing ( const css::lang::EventObject &  Source)
overrideprotectedvirtual

◆ getComponentContext()

css::uno::Reference< css::uno::XComponentContext > const & connectivity::macab::MacabDriver::getComponentContext ( ) const
inline

Definition at line 118 of file MacabDriver.hxx.

References m_xContext.

◆ getImplementationName()

OUString SAL_CALL MacabDriver::getImplementationName ( )
overrideprotectedvirtual

Definition at line 216 of file MacabDriver.cxx.

◆ getMajorVersion()

sal_Int32 SAL_CALL MacabDriver::getMajorVersion ( )
overrideprotectedvirtual

Definition at line 273 of file MacabDriver.cxx.

References MACAB_DRIVER_VERSION_MAJOR.

◆ getMinorVersion()

sal_Int32 SAL_CALL MacabDriver::getMinorVersion ( )
overrideprotectedvirtual

Definition at line 278 of file MacabDriver.cxx.

References MACAB_DRIVER_VERSION_MINOR.

◆ getPropertyInfo()

Sequence< DriverPropertyInfo > SAL_CALL MacabDriver::getPropertyInfo ( const OUString &  url,
const css::uno::Sequence< css::beans::PropertyValue > &  info 
)
overrideprotectedvirtual

Definition at line 267 of file MacabDriver.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL MacabDriver::getSupportedServiceNames ( )
overrideprotectedvirtual

Definition at line 226 of file MacabDriver.cxx.

◆ impl_getConfigurationSettingsPath()

OUString MacabDriver::impl_getConfigurationSettingsPath ( )
static

returns the path of our configuration settings

Definition at line 298 of file MacabDriver.cxx.

◆ impl_shutdownImplementationModule()

void connectivity::macab::MacabDriver::impl_shutdownImplementationModule ( )
private

shuts down the library which contains the real implementations

This method is safe against being called multiple times

@precond our mutex is locked

◆ notifyTermination()

void SAL_CALL MacabDriver::notifyTermination ( const css::lang::EventObject &  Event)
overrideprotectedvirtual

◆ queryTermination()

void SAL_CALL MacabDriver::queryTermination ( const css::lang::EventObject &  Event)
overrideprotectedvirtual

Definition at line 283 of file MacabDriver.cxx.

◆ supportsService()

sal_Bool SAL_CALL MacabDriver::supportsService ( const OUString &  ServiceName)
overrideprotectedvirtual

Definition at line 221 of file MacabDriver.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aImplModule

MacabImplModule connectivity::macab::MacabDriver::m_aImplModule
protected

Definition at line 114 of file MacabDriver.hxx.

Referenced by acceptsURL(), connect(), and notifyTermination().

◆ m_aMutex

::osl::Mutex connectivity::macab::MacabDriver::m_aMutex
protected

Definition at line 109 of file MacabDriver.hxx.

Referenced by acceptsURL(), connect(), and disposing().

◆ m_xConnections

OWeakRefArray connectivity::macab::MacabDriver::m_xConnections
protected

Definition at line 110 of file MacabDriver.hxx.

Referenced by connect(), and disposing().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > connectivity::macab::MacabDriver::m_xContext
protected

Definition at line 113 of file MacabDriver.hxx.

Referenced by getComponentContext(), and MacabDriver().


The documentation for this class was generated from the following files: