Author: ron.sigal(a)jboss.com
Date: 2009-03-24 23:58:44 -0400 (Tue, 24 Mar 2009)
New Revision: 4909
Modified:
remoting2/branches/2.x/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.x/src/main/org/jboss/remoting/transport/web/WebServerInvoker.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/web/WebServerInvoker.java 2009-03-25
03:58:01 UTC (rev 4908)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/web/WebServerInvoker.java 2009-03-25
03:58:44 UTC (rev 4909)
@@ -101,7 +101,7 @@
public UnMarshaller getUnMarshaller()
{
ClassLoader classLoader = SecurityUtility.getClassLoader(WebServerInvoker.class);
- UnMarshaller unmarshaller = MarshalFactory.getUnMarshaller(getLocator(),
classLoader);
+ UnMarshaller unmarshaller = MarshalFactory.getUnMarshaller(getLocator(),
classLoader, configuration);
if(unmarshaller == null)
{
unmarshaller = MarshalFactory.getUnMarshaller(getDataType(),
getSerializationType());
@@ -112,7 +112,7 @@
public Marshaller getMarshaller()
{
ClassLoader classLoader = SecurityUtility.getClassLoader(WebServerInvoker.class);
- Marshaller marshaller = MarshalFactory.getMarshaller(getLocator(), classLoader);
+ Marshaller marshaller = MarshalFactory.getMarshaller(getLocator(), classLoader,
configuration);
if(marshaller == null)
{
marshaller = MarshalFactory.getMarshaller(getDataType(),
getSerializationType());
Show replies by date