[jboss-remoting-commits] JBoss Remoting SVN: r5255 - remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Sat May 16 20:39:00 EDT 2009
Author: ron.sigal at jboss.com
Date: 2009-05-16 20:39:00 -0400 (Sat, 16 May 2009)
New Revision: 5255
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java
Log:
JBREM-1102: Uses passConfigMapToMarshalFactory variable.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java 2009-05-17 00:38:33 UTC (rev 5254)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java 2009-05-17 00:39:00 UTC (rev 5255)
@@ -206,8 +206,9 @@
log.debug("Binding server to \"remoting/RMIServerInvoker/" + bindPort + "\" in registry");
rebind(registry, "remoting/RMIServerInvoker/" + bindPort, this);
ClassLoader classLoader = getClassLoader(RMIServerInvoker.class);
- unmarshaller = MarshalFactory.getUnMarshaller(getLocator(), classLoader, configuration);
- marshaller = MarshalFactory.getMarshaller(getLocator(), classLoader, configuration);
+ Map map = passConfigMapToMarshalFactory ? configuration : null;
+ unmarshaller = MarshalFactory.getUnMarshaller(getLocator(), classLoader, map);
+ marshaller = MarshalFactory.getMarshaller(getLocator(), classLoader, map);
}
More information about the jboss-remoting-commits
mailing list