You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/10/19 03:26:48 UTC

svn commit: r465439 - /incubator/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CSharpMarshallingGenerator.java

Author: chirino
Date: Wed Oct 18 18:26:48 2006
New Revision: 465439

URL: http://svn.apache.org/viewvc?view=rev&rev=465439
Log:
Updating marhsaller generator

Modified:
    incubator/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CSharpMarshallingGenerator.java

Modified: incubator/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CSharpMarshallingGenerator.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CSharpMarshallingGenerator.java?view=diff&rev=465439&r1=465438&r2=465439
==============================================================================
--- incubator/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CSharpMarshallingGenerator.java (original)
+++ incubator/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CSharpMarshallingGenerator.java Wed Oct 18 18:26:48 2006
@@ -614,10 +614,11 @@
 out.println("	/// <summary>");
 out.println("	/// Used to create marshallers for a specific version of the wire protocol");
 out.println("	/// </summary>");
-out.println("    public class MarshallerFactory");
+out.println("    public class MarshallerFactory : IMarshallerFactory");
 out.println("    {");
 out.println("        public void configure(OpenWireFormat format) ");
 out.println("        {");
+out.println("            format.clearMarshallers();");
 
 		List list = new ArrayList(getConcreteClasses());
 		Collections.sort(list, new Comparator(){