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

#include <Driver.hxx>

Inheritance diagram for connectivity::firebird::FirebirdDriver:
[legend]
Collaboration diagram for connectivity::firebird::FirebirdDriver:
[legend]

Public Member Functions

 FirebirdDriver (const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
 
virtual ~FirebirdDriver () override
 
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
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 css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByConnection (const css::uno::Reference< css::sdbc::XConnection > &rxConnection) override
 
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByURL (const OUString &rsURL, const css::uno::Sequence< css::beans::PropertyValue > &rInfo) override
 

Protected Attributes

::osl::Mutex m_aMutex
 
OWeakRefArray m_xConnections
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_aContext
 
::utl::TempFileNamed m_firebirdTMPDirectory
 
::utl::TempFileNamed m_firebirdLockDirectory
 

Detailed Description

Definition at line 44 of file drivers/firebird/Driver.hxx.

Constructor & Destructor Documentation

◆ FirebirdDriver()

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

◆ ~FirebirdDriver()

FirebirdDriver::~FirebirdDriver ( )
overridevirtualdefault

Member Function Documentation

◆ acceptsURL()

sal_Bool SAL_CALL FirebirdDriver::acceptsURL ( const OUString &  url)
overridevirtual

Definition at line 159 of file Driver.cxx.

Referenced by connect(), and getPropertyInfo().

◆ connect()

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

Definition at line 139 of file Driver.cxx.

References acceptsURL(), m_aMutex, m_xConnections, and SAL_INFO.

Referenced by getDataDefinitionByURL().

◆ disposing()

void FirebirdDriver::disposing ( )
overridevirtual

SYSTEM_FIREBIRD

Definition at line 96 of file Driver.cxx.

References m_aMutex, m_xConnections, and pData.

◆ getContext()

const css::uno::Reference< css::uno::XComponentContext > & connectivity::firebird::FirebirdDriver::getContext ( ) const
inline

Definition at line 61 of file drivers/firebird/Driver.hxx.

References m_aContext.

◆ getDataDefinitionByConnection()

uno::Reference< XTablesSupplier > SAL_CALL FirebirdDriver::getDataDefinitionByConnection ( const css::uno::Reference< css::sdbc::XConnection > &  rxConnection)
overridevirtual

Definition at line 190 of file Driver.cxx.

Referenced by getDataDefinitionByURL().

◆ getDataDefinitionByURL()

uno::Reference< XTablesSupplier > SAL_CALL FirebirdDriver::getDataDefinitionByURL ( const OUString &  rsURL,
const css::uno::Sequence< css::beans::PropertyValue > &  rInfo 
)
overridevirtual

Definition at line 198 of file Driver.cxx.

References connect(), and getDataDefinitionByConnection().

◆ getImplementationName()

OUString SAL_CALL FirebirdDriver::getImplementationName ( )
overridevirtual

Definition at line 123 of file Driver.cxx.

◆ getMajorVersion()

sal_Int32 SAL_CALL FirebirdDriver::getMajorVersion ( )
overridevirtual

Definition at line 177 of file Driver.cxx.

◆ getMinorVersion()

sal_Int32 SAL_CALL FirebirdDriver::getMinorVersion ( )
overridevirtual

Definition at line 184 of file Driver.cxx.

◆ getPropertyInfo()

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

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL FirebirdDriver::getSupportedServiceNames ( )
overridevirtual

Definition at line 133 of file Driver.cxx.

◆ supportsService()

sal_Bool SAL_CALL FirebirdDriver::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 128 of file Driver.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aContext

css::uno::Reference<css::uno::XComponentContext> connectivity::firebird::FirebirdDriver::m_aContext
private

Definition at line 47 of file drivers/firebird/Driver.hxx.

Referenced by getContext().

◆ m_aMutex

::osl::Mutex connectivity::firebird::FirebirdDriver::m_aMutex
protected

Definition at line 52 of file drivers/firebird/Driver.hxx.

Referenced by connect(), and disposing().

◆ m_firebirdLockDirectory

::utl::TempFileNamed connectivity::firebird::FirebirdDriver::m_firebirdLockDirectory
private

Definition at line 49 of file drivers/firebird/Driver.hxx.

Referenced by FirebirdDriver().

◆ m_firebirdTMPDirectory

::utl::TempFileNamed connectivity::firebird::FirebirdDriver::m_firebirdTMPDirectory
private

Definition at line 48 of file drivers/firebird/Driver.hxx.

Referenced by FirebirdDriver().

◆ m_xConnections

OWeakRefArray connectivity::firebird::FirebirdDriver::m_xConnections
protected

Definition at line 53 of file drivers/firebird/Driver.hxx.

Referenced by connect(), and disposing().


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