summaryrefslogtreecommitdiff
path: root/jurt/com/sun/star/comp/connections/Connector.java
diff options
context:
space:
mode:
Diffstat (limited to 'jurt/com/sun/star/comp/connections/Connector.java')
-rw-r--r--jurt/com/sun/star/comp/connections/Connector.java17
1 files changed, 16 insertions, 1 deletions
diff --git a/jurt/com/sun/star/comp/connections/Connector.java b/jurt/com/sun/star/comp/connections/Connector.java
index a9e0a2c5cc84..6f0f351e2893 100644
--- a/jurt/com/sun/star/comp/connections/Connector.java
+++ b/jurt/com/sun/star/comp/connections/Connector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -84,6 +84,21 @@ public class Connector implements XConnector {
}
/**
+ * Writes the service information into the given registry key.
+ *
+ * <p>This method is called by the <code>JavaLoader</code>.</p>
+ *
+ * @param regKey the registry key.
+ * @return <code>true</code> if the operation succeeded.
+ *
+ * @see com.sun.star.comp.loader.JavaLoader
+ */
+ public static boolean __writeRegistryServiceInfo(XRegistryKey regKey) {
+ return FactoryHelper.writeRegistryServiceInfo(Connector.class.getName(),
+ __serviceName, regKey);
+ }
+
+ /**
* Constructs a new <code>Connector</code> that uses the given service
* factory to create a specific <code>XConnector</code>.
*