22#include <com/sun/star/sdbc/XConnection.hpp>
23#include <com/sun/star/lang/DisposedException.hpp>
24#include <com/sun/star/uno/XComponentContext.hpp>
27#include <osl/mutex.hxx>
38 css::uno::WeakReference< css::sdbc::XConnection >
40 css::uno::Reference< css::uno::XComponentContext >
49 css::uno::Reference< css::sdbc::XConnection >
55 const css::uno::Reference< css::uno::XComponentContext >&
74 void setWeakConnection(
const css::uno::Reference< css::sdbc::XConnection >& _rxConnection )
79 const css::uno::Reference< css::sdbc::XConnection >&
125 throw css::lang::DisposedException();
a class for guarding methods of a connection-dependent component
EntryGuard(ConnectionDependentComponent &_rComponent)
ConnectionDependentComponent & m_rComponent
::osl::MutexGuard m_aMutexGuard
Reference< XComponentContext > _xContext