33 OSL_ENSURE(
m_xConnection.is(),
"OConnectionWeakWrapper: Connection must be valid!");
38 if ( !OConnectionWeakWrapper_BASE::rBHelper.bDisposed )
51 ::osl::MutexGuard aGuard(
m_aMutex );
52 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
60 ::osl::MutexGuard aGuard(
m_aMutex );
61 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
69 ::osl::MutexGuard aGuard(
m_aMutex );
70 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
78 ::osl::MutexGuard aGuard(
m_aMutex );
79 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
87 ::osl::MutexGuard aGuard(
m_aMutex );
88 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
95 ::osl::MutexGuard aGuard(
m_aMutex );
96 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
104 ::osl::MutexGuard aGuard(
m_aMutex );
105 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
113 ::osl::MutexGuard aGuard(
m_aMutex );
114 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
122 ::osl::MutexGuard aGuard(
m_aMutex );
129 ::osl::MutexGuard aGuard(
m_aMutex );
130 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
138 ::osl::MutexGuard aGuard(
m_aMutex );
139 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
147 ::osl::MutexGuard aGuard(
m_aMutex );
148 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
156 ::osl::MutexGuard aGuard(
m_aMutex );
157 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
165 ::osl::MutexGuard aGuard(
m_aMutex );
166 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
174 ::osl::MutexGuard aGuard(
m_aMutex );
175 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
183 ::osl::MutexGuard aGuard(
m_aMutex );
184 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
192 ::osl::MutexGuard aGuard(
m_aMutex );
193 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
201 ::osl::MutexGuard aGuard(
m_aMutex );
202 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
212 ::osl::MutexGuard aGuard(
m_aMutex );
213 checkDisposed(OConnectionWeakWrapper_BASE::rBHelper.bDisposed);
223 OConnectionWeakWrapper_BASE::disposing();
232 css::uno::Any aReturn = OConnectionWeakWrapper_BASE::queryInterface( _rType );
233 if ( !aReturn.hasValue() )
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL getMetaData() override
virtual void SAL_CALL setAutoCommit(sal_Bool autoCommit) override
virtual void SAL_CALL setCatalog(const OUString &catalog) override
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareStatement(const OUString &sql) override
virtual ~OConnectionWeakWrapper() override
virtual void SAL_CALL close() override
virtual sal_Bool SAL_CALL isReadOnly() override
virtual sal_Bool SAL_CALL isClosed() override
virtual void SAL_CALL disposing() override
virtual void SAL_CALL setTypeMap(const css::uno::Reference< css::container::XNameAccess > &typeMap) override
virtual sal_Int32 SAL_CALL getTransactionIsolation() override
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareCall(const OUString &sql) override
virtual void SAL_CALL setReadOnly(sal_Bool readOnly) override
virtual void SAL_CALL setTransactionIsolation(sal_Int32 level) override
virtual void SAL_CALL commit() override
virtual OUString SAL_CALL nativeSQL(const OUString &sql) override
virtual void SAL_CALL rollback() override
virtual OUString SAL_CALL getCatalog() override
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTypeMap() override
virtual sal_Bool SAL_CALL getAutoCommit() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
void setDelegation(css::uno::Reference< css::uno::XAggregation > &_rxProxyConnection, oslInterlockedCount &_rRefCount)
css::uno::Reference< css::sdbc::XConnection > m_xConnection
mutable::osl::Mutex m_aMutex
IMPLEMENT_FORWARD_XTYPEPROVIDER2(OHsqlConnection, OHsqlConnection_BASE, OConnectionWrapper)
void checkDisposed(bool _bThrow)
::cppu::WeakComponentImplHelper< css::sdbc::XConnection > OConnectionWeakWrapper_BASE
Reference< XConnection > m_xConnection
#define IMPLEMENT_FORWARD_REFCOUNT(classname, refcountbase)