Author: ron.sigal(a)jboss.com
Date: 2009-03-23 23:46:02 -0400 (Mon, 23 Mar 2009)
New Revision: 4899
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/web/WebServerInvoker.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/web/WebServerInvoker.java
===================================================================
---
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/web/WebServerInvoker.java 2009-03-24
03:45:24 UTC (rev 4898)
+++
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/web/WebServerInvoker.java 2009-03-24
03:46:02 UTC (rev 4899)
@@ -99,7 +99,7 @@
public UnMarshaller getUnMarshaller()
{
- UnMarshaller unmarshaller = MarshalFactory.getUnMarshaller(getLocator(),
this.getClass().getClassLoader());
+ UnMarshaller unmarshaller = MarshalFactory.getUnMarshaller(getLocator(),
this.getClass().getClassLoader(), configuration);
if(unmarshaller == null)
{
unmarshaller = MarshalFactory.getUnMarshaller(getDataType(),
getSerializationType());
@@ -109,7 +109,7 @@
public Marshaller getMarshaller()
{
- Marshaller marshaller = MarshalFactory.getMarshaller(getLocator(),
this.getClass().getClassLoader());
+ Marshaller marshaller = MarshalFactory.getMarshaller(getLocator(),
this.getClass().getClassLoader(), configuration);
if(marshaller == null)
{
Show replies by date