22#include <com/sun/star/lang/DisposedException.hpp>
25#include <com/sun/star/ucb/XContentAccess.hpp>
63 catch (
const css::lang::DisposedException&)
72 ODriver_BASE::disposing();
94 return {
"com.sun.star.sdbc.Driver" };
100 ::osl::MutexGuard aGuard(
m_aMutex );
101 if (ODriver_BASE::rBHelper.bDisposed)
102 throw DisposedException();
108 pCon->construct(url,info);
146 return ( url ==
u"sdbc:address:evolution:local" || url ==
u"sdbc:address:evolution:groupwise" || url ==
u"sdbc:address:evolution:ldap" ) &&
EApiInit();
150extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
152 css::uno::XComponentContext* context , css::uno::Sequence<css::uno::Any>
const&)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * connectivity_OEvoabDriver_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
constexpr OUStringLiteral EVOAB_DRIVER_IMPL_NAME
Reference< XComponentContext > m_xContext
helper class for accessing resources shared by different libraries in the connectivity module
OUString getResourceString(TranslateId pResId) const
loads a string from the shared resource file
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connect(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
virtual sal_Int32 SAL_CALL getMajorVersion() override
virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
static bool acceptsURL_Stat(std::u16string_view url)
connectivity::OWeakRefArray m_xConnections
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ~OEvoabDriver() override
virtual void SAL_CALL disposing() override
virtual sal_Bool SAL_CALL acceptsURL(const OUString &url) override
virtual sal_Int32 SAL_CALL getMinorVersion() override
virtual OUString SAL_CALL getImplementationName() override
::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo > ODriver_BASE
std::vector< css::uno::WeakReferenceHelper > OWeakRefArray
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)