[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Wed Dec 13 19:58:39 EST 2006
User: rsigal
Date: 06/12/13 19:58:39
Modified: src/main/org/jboss/remoting Tag: remoting_2_x Client.java
Log:
JBREM-650: (1) Create copy of configuration map in constructors, and (2) pass configuration to callback Connector.
Revision Changes Path
No revision
No revision
1.53.2.11 +3 -3 JBossRemoting/src/main/org/jboss/remoting/Client.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Client.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/Client.java,v
retrieving revision 1.53.2.10
retrieving revision 1.53.2.11
diff -u -b -r1.53.2.10 -r1.53.2.11
--- Client.java 12 Dec 2006 04:55:30 -0000 1.53.2.10
+++ Client.java 14 Dec 2006 00:58:39 -0000 1.53.2.11
@@ -63,7 +63,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
- * @version $Revision: 1.53.2.10 $
+ * @version $Revision: 1.53.2.11 $
*/
public class Client implements Externalizable
{
@@ -261,7 +261,7 @@
this.locator = locator;
this.subsystem = subsystem == null ? null : subsystem.toUpperCase();
if (configuration != null)
- this.configuration = configuration;
+ this.configuration = new HashMap(configuration);
this.sessionId = new GUID().toString();
}
@@ -987,7 +987,7 @@
{
callbackLocator = new InvokerLocator(transport, host, port, null, metadata);
}
- Connector callbackServerConnector = new Connector(callbackLocator);
+ Connector callbackServerConnector = new Connector(callbackLocator, configuration);
callbackConnectors.put(callbackhandler, callbackServerConnector);
callbackServerConnector.start();
// have to use the locator from the server as can be modified internally
More information about the jboss-cvs-commits
mailing list