summaryrefslogtreecommitdiff
path: root/odk/examples/java/Inspector/ProtocolHandlerAddon.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/java/Inspector/ProtocolHandlerAddon.java')
-rw-r--r--odk/examples/java/Inspector/ProtocolHandlerAddon.java21
1 files changed, 8 insertions, 13 deletions
diff --git a/odk/examples/java/Inspector/ProtocolHandlerAddon.java b/odk/examples/java/Inspector/ProtocolHandlerAddon.java
index 340b1fcc1af3..58dd04ff35bf 100644
--- a/odk/examples/java/Inspector/ProtocolHandlerAddon.java
+++ b/odk/examples/java/Inspector/ProtocolHandlerAddon.java
@@ -81,7 +81,7 @@ public class ProtocolHandlerAddon {
/** The constructor of the inner class has a XMultiServiceFactory parameter.
- * @param xmultiservicefactoryInitialization A special service factory
+ * @param xComponentContext A special service factory
* could be introduced while initializing.
*/
public ProtocolHandlerAddonImpl( XComponentContext xComponentContext ) {
@@ -92,7 +92,7 @@ public class ProtocolHandlerAddon {
* directly after its creation.
* @param object This array of arbitrary objects will be passed to the
* component after its creation.
- * @throws Exception Every exception will not be handled, but will be
+ * @throws com.sun.star.uno.Exception Every exception will not be handled, but will be
* passed to the caller.
*/
public void initialize( Object[] object )
@@ -124,7 +124,7 @@ public class ProtocolHandlerAddon {
/** This method returns true, if the given service will be
* supported by the component.
- * @param stringService Service name.
+ * @param sService Service name.
* @return True, if the given service name will be supported.
*/
public boolean supportsService( String sService ) {
@@ -238,13 +238,8 @@ public class ProtocolHandlerAddon {
* <p>
* @return Returns a <code>XSingleServiceFactory</code> for creating the
* component.
- * @see com.sun.star.comp.loader.JavaLoader#
- * @param stringImplementationName The implementation name of the component.
- * @param xmultiservicefactory The service manager, who gives access to every
- * known service.
- * @param xregistrykey Makes structural information (except regarding tree
- * structures) of a single
- * registry key accessible.
+ * @see com.sun.star.comp.loader.JavaLoader
+ * @param sImplementationName The implementation name of the component.
*/
public static XSingleComponentFactory __getComponentFactory( String sImplementationName ) {
XSingleComponentFactory xFactory = null;
@@ -259,9 +254,9 @@ public class ProtocolHandlerAddon {
/** Writes the service information into the given registry key.
* This method is called by the <code>JavaLoader</code>.
* @return returns true if the operation succeeded
- * @see com.sun.star.comp.loader.JavaLoader#
- * @see com.sun.star.lib.uno.helper.Factory#
- * @param xregistrykey Makes structural information (except regarding tree
+ * @see com.sun.star.comp.loader.JavaLoader
+ * @see com.sun.star.lib.uno.helper.Factory
+ * @param xRegistryKey Makes structural information (except regarding tree
* structures) of a single
* registry key accessible.
*/