[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/sslrmi ...
Ron Sigal
ron_sigal at yahoo.com
Tue Jan 16 01:19:19 EST 2007
User: rsigal
Date: 07/01/16 01:19:19
Modified: src/main/org/jboss/remoting/transport/sslrmi Tag:
remoting_2_x SSLRMIClientInvoker.java
Log:
JBREM-298: Refactored with RMIClientInvoker to allow storage of client side config parameters for RMI as well as SSLRMI.
Revision Changes Path
No revision
No revision
1.1.4.1 +3 -23 JBossRemoting/src/main/org/jboss/remoting/transport/sslrmi/SSLRMIClientInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SSLRMIClientInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/sslrmi/SSLRMIClientInvoker.java,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -b -r1.1 -r1.1.4.1
--- SSLRMIClientInvoker.java 12 Jul 2006 04:49:51 -0000 1.1
+++ SSLRMIClientInvoker.java 16 Jan 2007 06:19:19 -0000 1.1.4.1
@@ -22,19 +22,16 @@
package org.jboss.remoting.transport.sslrmi;
-import org.jboss.remoting.ConnectionFailedException;
+import java.util.Map;
+
import org.jboss.remoting.InvokerLocator;
-import org.jboss.remoting.Remoting;
import org.jboss.remoting.transport.rmi.RMIClientInvoker;
-import java.util.HashMap;
-import java.util.Map;
-
/**
*
* @author <a href="mailto:ron.sigal at jboss.com">Ron Sigal</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.1.4.1 $
* <p>
* Copyright (c) Jun 11, 2006
* </p>
@@ -51,21 +48,4 @@
{
super(locator);
}
-
- protected void handleConnect() throws ConnectionFailedException
- {
- HashMap localConfig = new HashMap(configuration);
-
- // If a specific SocketFactory was passed in, use it. If a SocketFactory was
- // generated from SSL parameters, discard it. It will be recreated later by
- // SerializableSSLClientSocketFactory with any additional parameters sent
- // from server.
- if (socketFactory != null && !socketFactoryCreatedFromSSLParameters)
- localConfig.put(Remoting.CUSTOM_SOCKET_FACTORY, socketFactory);
-
- // Save configuration for SerializableSSLClientSocketFactory.
- SerializableSSLClientSocketFactory.addLocalConfiguration(locator, localConfig);
-
- super.handleConnect();
- }
}
More information about the jboss-cvs-commits
mailing list