summaryrefslogtreecommitdiff
path: root/connectivity/source/manager/sdbc2.component
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/manager/sdbc2.component')
-rw-r--r--connectivity/source/manager/sdbc2.component7
1 files changed, 5 insertions, 2 deletions
diff --git a/connectivity/source/manager/sdbc2.component b/connectivity/source/manager/sdbc2.component
index b192bebad89d..8797ec80a27c 100644
--- a/connectivity/source/manager/sdbc2.component
+++ b/connectivity/source/manager/sdbc2.component
@@ -18,8 +18,11 @@
-->
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
- prefix="sdbc2" xmlns="http://openoffice.org/2010/uno-components">
- <implementation name="com.sun.star.comp.sdbc.OSDBCDriverManager">
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.sdbc.OSDBCDriverManager"
+ constructor="connectivity_OSDBCDriverManager_get_implementation">
+ <!-- fake singleton so the servicemanager shuts us down and we can clean up our global instance var -->
+ <singleton name="com.sun.star.comp.sdbc.theOSDBCDriverManager"/>
<service name="com.sun.star.sdbc.DriverManager"/>
</implementation>
</component>