Author: ron.sigal(a)jboss.com
Date: 2009-03-23 23:44:00 -0400 (Mon, 23 Mar 2009)
New Revision: 4896
Modified:
remoting2/branches/2.2/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.2/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java
===================================================================
---
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java 2009-03-24
03:42:09 UTC (rev 4895)
+++
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/rmi/RMIServerInvoker.java 2009-03-24
03:44:00 UTC (rev 4896)
@@ -116,8 +116,8 @@
log.debug("Binding registry to " + "remoting/RMIServerInvoker/"
+ bindPort);
registry.rebind("remoting/RMIServerInvoker/" + bindPort, this);
- unmarshaller = MarshalFactory.getUnMarshaller(getLocator(),
this.getClass().getClassLoader());
- marshaller = MarshalFactory.getMarshaller(getLocator(),
this.getClass().getClassLoader());
+ unmarshaller = MarshalFactory.getUnMarshaller(getLocator(),
this.getClass().getClassLoader(), configuration);
+ marshaller = MarshalFactory.getMarshaller(getLocator(),
this.getClass().getClassLoader(), configuration);
}