Author: ron.sigal(a)jboss.com
Date: 2009-03-24 23:55:11 -0400 (Tue, 24 Mar 2009)
New Revision: 4904
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java
Log:
JBREM-1102: Uses configuration when it calls MarshalFactory.getMarshaller() and
MarshalFactory.getUnMarshaller().
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java 2009-03-24
07:33:10 UTC (rev 4903)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java 2009-03-25
03:55:11 UTC (rev 4904)
@@ -82,7 +82,7 @@
if (marshaller == null)
{
// try by locator (in case marshaller class name specified)
- marshaller = MarshalFactory.getMarshaller(getLocator(), getClassLoader());
+ marshaller = MarshalFactory.getMarshaller(getLocator(), getClassLoader(),
configuration);
if (marshaller == null)
{
// need to have a marshaller, so create a default one
@@ -101,7 +101,7 @@
if (unmarshaller == null)
{
// try by locator (in case unmarshaller class name specified)
- unmarshaller = MarshalFactory.getUnMarshaller(getLocator(),
getClassLoader());
+ unmarshaller = MarshalFactory.getUnMarshaller(getLocator(), getClassLoader(),
configuration);
if (unmarshaller == null)
{
unmarshaller = MarshalFactory.getUnMarshaller(getDataType(),
getSerializationType());