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

#include <Driver.hxx>

Inheritance diagram for connectivity::java_sql_Driver:
[legend]
Collaboration diagram for connectivity::java_sql_Driver:
[legend]

Public Member Functions

 java_sql_Driver (const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
 
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
 
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
const ::comphelper::EventLoggergetLogger () const
 

Protected Member Functions

virtual ~java_sql_Driver () override
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_aContext
 
::comphelper::EventLogger m_aLogger
 

Detailed Description

Definition at line 30 of file inc/java/sql/Driver.hxx.

Constructor & Destructor Documentation

◆ ~java_sql_Driver()

java_sql_Driver::~java_sql_Driver ( )
overrideprotectedvirtual

Definition at line 44 of file JDriver.cxx.

◆ java_sql_Driver()

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

Definition at line 38 of file JDriver.cxx.

References m_aContext.

Member Function Documentation

◆ acceptsURL()

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

Definition at line 84 of file JDriver.cxx.

References JFW_E_DIRECT_MODE, JFW_E_NONE, jfw_getEnabled(), SAL_INFO, and SAL_WARN.

Referenced by connect(), and getPropertyInfo().

◆ connect()

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

◆ getContext()

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

◆ getImplementationName()

OUString SAL_CALL java_sql_Driver::getImplementationName ( )
overridevirtual

Definition at line 48 of file JDriver.cxx.

◆ getLogger()

const ::comphelper::EventLogger & connectivity::java_sql_Driver::getLogger ( ) const
inline

Definition at line 54 of file inc/java/sql/Driver.hxx.

References m_aLogger.

◆ getMajorVersion()

sal_Int32 SAL_CALL java_sql_Driver::getMajorVersion ( )
overridevirtual

Definition at line 214 of file JDriver.cxx.

◆ getMinorVersion()

sal_Int32 SAL_CALL java_sql_Driver::getMinorVersion ( )
overridevirtual

Definition at line 219 of file JDriver.cxx.

◆ getPropertyInfo()

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

◆ getSupportedServiceNames()

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

Definition at line 61 of file JDriver.cxx.

◆ supportsService()

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

Definition at line 55 of file JDriver.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aContext

css::uno::Reference<css::uno::XComponentContext> connectivity::java_sql_Driver::m_aContext
private

Definition at line 32 of file inc/java/sql/Driver.hxx.

Referenced by getContext().

◆ m_aLogger

::comphelper::EventLogger connectivity::java_sql_Driver::m_aLogger
private

Definition at line 33 of file inc/java/sql/Driver.hxx.

Referenced by connect(), and getLogger().


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