summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java')
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java14
1 files changed, 4 insertions, 10 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
index 66d25f2ed708..bb1cdb86109d 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
@@ -80,7 +80,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 ) {
@@ -91,7 +91,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 )
@@ -123,7 +123,6 @@ public class ProtocolHandlerAddon {
/** This method returns true, if the given service will be
* supported by the component.
- * @param stringService Service name.
* @return True, if the given service name will be supported.
*/
public boolean supportsService( String sService ) {
@@ -237,13 +236,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;