[jboss-cvs] JBossAS SVN: r58691 - branches/Branch_4_2/server/src/main/org/jboss/invocation/jrmp/server

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Nov 27 14:21:51 EST 2006


Author: tom.elrod at jboss.com
Date: 2006-11-27 14:21:44 -0500 (Mon, 27 Nov 2006)
New Revision: 58691

Modified:
   branches/Branch_4_2/server/src/main/org/jboss/invocation/jrmp/server/JRMPInvoker.java
Log:
JBAS-3703 - changed the exporting of remote object to be cast to Serializable instead of RemoteStub.

Modified: branches/Branch_4_2/server/src/main/org/jboss/invocation/jrmp/server/JRMPInvoker.java
===================================================================
--- branches/Branch_4_2/server/src/main/org/jboss/invocation/jrmp/server/JRMPInvoker.java	2006-11-27 18:51:00 UTC (rev 58690)
+++ branches/Branch_4_2/server/src/main/org/jboss/invocation/jrmp/server/JRMPInvoker.java	2006-11-27 19:21:44 UTC (rev 58691)
@@ -122,7 +122,7 @@
     */
    protected String sslDomain;
 
-   protected RemoteStub invokerStub;
+   protected Serializable invokerStub;
    /**
     * The socket accept backlog
     */
@@ -258,7 +258,7 @@
    {
       return clientSocketFactory;
    }
-   
+
    /**
     * @jmx.managed-attribute
     */
@@ -448,7 +448,7 @@
 
    protected void exportCI() throws Exception
    {
-      this.invokerStub = (RemoteStub) UnicastRemoteObject.exportObject
+      this.invokerStub = (Serializable) UnicastRemoteObject.exportObject
          (this, rmiPort, clientSocketFactory, serverSocketFactory);
    }
 




More information about the jboss-cvs-commits mailing list