[jboss-svn-commits] JBossWS SVN: r655 - branches/jbossws-1.0/src/main/java/org/jboss/ws/xop

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Jul 31 13:06:27 EDT 2006


Author: heiko.braun at jboss.com
Date: 2006-07-31 13:06:24 -0400 (Mon, 31 Jul 2006)
New Revision: 655

Modified:
   branches/jbossws-1.0/src/main/java/org/jboss/ws/xop/XOPMarshallerImpl.java
Log:
register JAF content handlers

Modified: branches/jbossws-1.0/src/main/java/org/jboss/ws/xop/XOPMarshallerImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/xop/XOPMarshallerImpl.java	2006-07-31 16:53:43 UTC (rev 654)
+++ branches/jbossws-1.0/src/main/java/org/jboss/ws/xop/XOPMarshallerImpl.java	2006-07-31 17:06:24 UTC (rev 655)
@@ -27,6 +27,7 @@
 import org.jboss.ws.soap.SOAPMessageContextImpl;
 import org.jboss.ws.soap.SOAPMessageImpl;
 import org.jboss.ws.soap.attachment.MimeConstants;
+import org.jboss.ws.soap.attachment.ContentHandlerRegistry;
 import org.jboss.xb.binding.sunday.xop.XOPMarshaller;
 import org.jboss.xb.binding.sunday.xop.XOPObject;
 
@@ -51,6 +52,12 @@
 
    private static final Logger log = Logger.getLogger(XOPMarshallerImpl.class);
 
+   static
+   {
+      // Load JAF content handlers
+      ContentHandlerRegistry.register();
+   }
+   
    public boolean isXOPPackage()
    {
       return XOPContext.isXOPPackage();




More information about the jboss-svn-commits mailing list