[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/rmi ...
Tom Elrod
tom.elrod at jboss.com
Wed Jul 19 12:39:17 EDT 2006
User: telrod
Date: 06/07/19 12:39:17
Modified: src/main/org/jboss/remoting/transport/rmi
RMIServerInvoker.java
Log:
JBREM-507 - updating/adding javadoc for configuration properties.
Revision Changes Path
1.15 +21 -12 JBossRemoting/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RMIServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- RMIServerInvoker.java 20 Jun 2006 16:26:35 -0000 1.14
+++ RMIServerInvoker.java 19 Jul 2006 16:39:17 -0000 1.15
@@ -22,11 +22,19 @@
package org.jboss.remoting.transport.rmi;
+import org.jboss.remoting.InvokerLocator;
+import org.jboss.remoting.ServerInvoker;
+import org.jboss.remoting.marshal.MarshalFactory;
+import org.jboss.remoting.marshal.Marshaller;
+import org.jboss.remoting.marshal.UnMarshaller;
+import org.jboss.remoting.marshal.UnMarshallerDecorator;
+import org.jboss.remoting.marshal.serializable.SerializableMarshaller;
+
+import javax.net.SocketFactory;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
-import java.lang.reflect.Constructor;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
@@ -36,30 +44,31 @@
import java.rmi.server.RMIServerSocketFactory;
import java.rmi.server.UnicastRemoteObject;
import java.util.Map;
-import javax.net.SocketFactory;
-import org.jboss.remoting.InvokerLocator;
-import org.jboss.remoting.ServerInvoker;
-import org.jboss.remoting.marshal.MarshalFactory;
-import org.jboss.remoting.marshal.Marshaller;
-import org.jboss.remoting.marshal.UnMarshaller;
-import org.jboss.remoting.marshal.UnMarshallerDecorator;
-import org.jboss.remoting.marshal.serializable.SerializableMarshaller;
/**
* RMIServerInvoker
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
- * @version $Revision: 1.14 $
+ * @version $Revision: 1.15 $
*/
public class RMIServerInvoker extends ServerInvoker implements RMIServerInvokerInf
{
private Remote stub;
- public static final String SOCKET_FACTORY = "socketFactory";
-
+ /**
+ * Default for how many connections are queued. Value is 200.
+ */
public static final int BACKLOG_DEFAULT = 200;
+
+ /**
+ * Default port on which rmi registry will be started.
+ */
public static final int DEFAULT_REGISTRY_PORT = 3455;
+
+ /**
+ * Key for port on which rmi registry should be started on.
+ */
public static final String REGISTRY_PORT_KEY = "registryPort";
private Marshaller marshaller = null;
More information about the jboss-cvs-commits
mailing list