Author: ron.sigal(a)jboss.com
Date: 2011-01-24 22:49:13 -0500 (Mon, 24 Jan 2011)
New Revision: 6217
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/InvokerRegistry.java
Log:
JBREM-1268: Associates new client invoker with original configuration map, instead of one
possibly changed by RemoteClientInvoker.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/InvokerRegistry.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/InvokerRegistry.java 2011-01-25
03:48:07 UTC (rev 6216)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/InvokerRegistry.java 2011-01-25
03:49:13 UTC (rev 6217)
@@ -296,6 +296,12 @@
return invoker;
}
+ Map orginalConfiguration = null;
+ if(configuration != null)
+ {
+ orginalConfiguration = new HashMap(configuration);
+ }
+
boolean isForceRemote = false;
boolean isPassByValue = false;
Map parameters = locator.getParameters();
@@ -344,7 +350,7 @@
invoker = localInvoker;
InvokerLocator l = invoker.getLocator();
- addRegisteredClientInvoker(invoker, l, configuration);
+ addRegisteredClientInvoker(invoker, l, orginalConfiguration);
}
}
@@ -360,7 +366,7 @@
InvokerLocator l = invoker.getLocator();
- addRegisteredClientInvoker(invoker, l, configuration);
+ addRegisteredClientInvoker(invoker, l, orginalConfiguration);
}
return invoker;
}
Show replies by date