Author: ron.sigal(a)jboss.com
Date: 2009-03-24 23:57:25 -0400 (Tue, 24 Mar 2009)
New Revision: 4907
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java
Log:
JBREM-1102: Uses configuration when it calls MarshalFactory.getMarshaller() and
MarshalFactory.getUnMarshaller().
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-03-25
03:56:57 UTC (rev 4906)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java 2009-03-25
03:57:25 UTC (rev 4907)
@@ -195,8 +195,8 @@
log.debug("Binding server to \"remoting/RMIServerInvoker/" +
bindPort + "\" in registry");
SecurityUtility.rebind(registry, "remoting/RMIServerInvoker/" + bindPort,
this);
ClassLoader classLoader = SecurityUtility.getClassLoader(RMIServerInvoker.class);
- unmarshaller = MarshalFactory.getUnMarshaller(getLocator(), classLoader);
- marshaller = MarshalFactory.getMarshaller(getLocator(), classLoader);
+ unmarshaller = MarshalFactory.getUnMarshaller(getLocator(), classLoader,
configuration);
+ marshaller = MarshalFactory.getMarshaller(getLocator(), classLoader,
configuration);
}