[jboss-remoting-commits] JBoss Remoting SVN: r5493 - remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Wed Sep 16 00:25:20 EDT 2009


Author: david.lloyd at jboss.com
Date: 2009-09-16 00:25:18 -0400 (Wed, 16 Sep 2009)
New Revision: 5493

Modified:
   remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/Options.java
Log:
javadoc

Modified: remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/Options.java
===================================================================
--- remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/Options.java	2009-09-16 04:13:30 UTC (rev 5492)
+++ remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/Options.java	2009-09-16 04:25:18 UTC (rev 5493)
@@ -22,24 +22,57 @@
 
 package org.jboss.remoting3;
 
+/**
+ * Common options for service registration.
+ */
 public final class Options {
 
     private Options() {
     }
 
+    /**
+     * Request that the marshalling layer require the use of one of the listed marshalling protocols, in order of decreasing preference.  If
+     * not specified, use a default value.
+     */
     public static final Option<Sequence<String>> MARSHALLING_PROTOCOLS = Option.sequence("jboss.remoting3.marshalling.protocols", String.class);
 
+    /**
+     * Request that the marshalling layer require the presense of one of the listed user-defined class tables, in order of decreasing preference.  If
+     * not specified, no user class table should be used.
+     */
     public static final Option<Sequence<String>> MARSHALLING_CLASS_TABLES = Option.sequence("jboss.remoting3.marshalling.classTables", String.class);
 
+    /**
+     * Request that the marshalling layer require the presense of one of the listed user-defined object tables, in order of decreasing preference.  If
+     * not specified, no user object table should be used.
+     */
     public static final Option<Sequence<String>> MARSHALLING_OBJECT_TABLES = Option.sequence("jboss.remoting3.marshalling.objectTables", String.class);
 
+    /**
+     * Request that the marshalling layer require the presense of one of the listed class resolvers, in order of decreasing preference.  If
+     * not specified, classes are resolved on the remote side using a default strategy.
+     */
     public static final Option<Sequence<String>> MARSHALLING_CLASS_RESOLVERS = Option.sequence("jboss.remoting3.marshalling.classResolvers", String.class);
 
+    /**
+     * Request that the marshalling layer require the presense of one of the listed object resolvers, in order of decreasing preference.  If
+     * not specified, no object substitution will take place.
+     */
     public static final Option<Sequence<String>> MARSHALLING_OBJECT_RESOLVERS = Option.sequence("jboss.remoting3.marshalling.objectResolvers", String.class);
 
+    /**
+     * Request that the marshalling layer require the presense of one of the listed user-defined externalizer factories, in order of decreasing preference.  If
+     * not specified, no user externalizer factory should be used.
+     */
     public static final Option<Sequence<String>> MARSHALLING_EXTERNALIZER_FACTORIES = Option.sequence("jboss.remoting3.marshalling.externalizerFactories", String.class);
 
+    /**
+     * Specify a metric which is a hint that describes the relative desirability of this service.
+     */
     public static final Option<Integer> METRIC = Option.simple("jboss.remoting3.metric", Integer.class);
 
-    public static final Option<Boolean> EXTERNALLY_VISIBLE = Option.simple("jboss.remoting3.externallyVisible", Boolean.class);
+    /**
+     * Specify that the registered service should or should not be visible remotely.  If not specified, defaults to {@code true}.
+     */
+    public static final Option<Boolean> REMOTELY_VISIBLE = Option.simple("jboss.remoting3.remotelyVisible", Boolean.class);
 }



More information about the jboss-remoting-commits mailing list