From feb3cc3d75144ef550c2048727cd94d9e7fadd0c Mon Sep 17 00:00:00 2001 From: Tobias Neitzel Date: Wed, 26 Jun 2024 12:27:04 +0200 Subject: [PATCH] Fix javadoc --- src/eu/tneitzel/rmg/networking/RMIEndpoint.java | 1 + .../tneitzel/rmg/networking/RMIRegistryEndpoint.java | 12 +----------- src/eu/tneitzel/rmg/operations/OperationGroup.java | 2 ++ .../tneitzel/rmg/operations/RemoteObjectClient.java | 2 ++ src/eu/tneitzel/rmg/plugin/PluginSystem.java | 2 ++ 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/eu/tneitzel/rmg/networking/RMIEndpoint.java b/src/eu/tneitzel/rmg/networking/RMIEndpoint.java index c491ce7..265dd30 100644 --- a/src/eu/tneitzel/rmg/networking/RMIEndpoint.java +++ b/src/eu/tneitzel/rmg/networking/RMIEndpoint.java @@ -43,6 +43,7 @@ public class RMIEndpoint /** remote host of the endpoint */ public String host; + /** client socket factory to use for connections */ protected RMIClientSocketFactory csf; /** diff --git a/src/eu/tneitzel/rmg/networking/RMIRegistryEndpoint.java b/src/eu/tneitzel/rmg/networking/RMIRegistryEndpoint.java index a4320d5..9619636 100644 --- a/src/eu/tneitzel/rmg/networking/RMIRegistryEndpoint.java +++ b/src/eu/tneitzel/rmg/networking/RMIRegistryEndpoint.java @@ -322,11 +322,6 @@ public Remote lookupWithRetries(String boundName, int maxRetries) * * @param boundName name to lookup within the registry * @return RemoteObjectWrapper for the remote object - * @throws IllegalArgumentException if reflective access fails - * @throws IllegalAccessException if reflective access fails - * @throws NoSuchFieldException if reflective access fails - * @throws SecurityException if reflective access fails - * @throws UnmarshalException if unmarshalling the return value fails */ public RemoteObjectWrapper lookupWrapper(String boundName) { @@ -348,13 +343,8 @@ public RemoteObjectWrapper lookupWrapper(String boundName) /** * Same as the lookup action, but returns an array of RemoteObjectWrapper. * - * @param boundName name to lookup within the registry + * @param boundNames names to lookup within the registry * @return RemoteObjectWrapper for the remote object - * @throws IllegalArgumentException if reflective access fails - * @throws IllegalAccessException if reflective access fails - * @throws NoSuchFieldException if reflective access fails - * @throws SecurityException if reflective access fails - * @throws UnmarshalException if unmarshalling the return value fails */ public RemoteObjectWrapper[] lookupWrappers(String[] boundNames) { diff --git a/src/eu/tneitzel/rmg/operations/OperationGroup.java b/src/eu/tneitzel/rmg/operations/OperationGroup.java index a836341..670942f 100644 --- a/src/eu/tneitzel/rmg/operations/OperationGroup.java +++ b/src/eu/tneitzel/rmg/operations/OperationGroup.java @@ -11,7 +11,9 @@ */ public enum OperationGroup implements IActionGroup { + /** Native rmg operations */ NATIVE("actions:"), + /** Operations added by plugins */ PLUGIN("plugin actions:"); private final String name; diff --git a/src/eu/tneitzel/rmg/operations/RemoteObjectClient.java b/src/eu/tneitzel/rmg/operations/RemoteObjectClient.java index 78951a7..9ba7914 100644 --- a/src/eu/tneitzel/rmg/operations/RemoteObjectClient.java +++ b/src/eu/tneitzel/rmg/operations/RemoteObjectClient.java @@ -103,6 +103,8 @@ public RemoteObjectClient(UnicastWrapper remoteObject) /** * Create a proxy for the RemoteObjectClient. * + * @param interface implemented by the proxy + * @param intf the interface class * @return proxy implementing the specified interface */ @SuppressWarnings("unchecked") diff --git a/src/eu/tneitzel/rmg/plugin/PluginSystem.java b/src/eu/tneitzel/rmg/plugin/PluginSystem.java index 984b0c0..ded9aa2 100644 --- a/src/eu/tneitzel/rmg/plugin/PluginSystem.java +++ b/src/eu/tneitzel/rmg/plugin/PluginSystem.java @@ -35,6 +35,8 @@ public class PluginSystem { private static String manifestAttribute = "RmgPluginClass"; + + /** The class loader that was used to load the plugin */ public static URLClassLoader pluginLoader = null; private static IActionProvider actionProvider = null;