[jbossws-commits] JBossWS SVN: r3211 - branches/jbossws-2.0/jbossws-core/src/java/org/jboss/ws/extensions/xop/jaxws.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Wed May 23 07:52:35 EDT 2007


Author: heiko.braun at jboss.com
Date: 2007-05-23 07:52:35 -0400 (Wed, 23 May 2007)
New Revision: 3211

Modified:
   branches/jbossws-2.0/jbossws-core/src/java/org/jboss/ws/extensions/xop/jaxws/ReflectiveAttachmentRefScanner.java
Log:
Docs and comments

Modified: branches/jbossws-2.0/jbossws-core/src/java/org/jboss/ws/extensions/xop/jaxws/ReflectiveAttachmentRefScanner.java
===================================================================
--- branches/jbossws-2.0/jbossws-core/src/java/org/jboss/ws/extensions/xop/jaxws/ReflectiveAttachmentRefScanner.java	2007-05-23 11:29:47 UTC (rev 3210)
+++ branches/jbossws-2.0/jbossws-core/src/java/org/jboss/ws/extensions/xop/jaxws/ReflectiveAttachmentRefScanner.java	2007-05-23 11:52:35 UTC (rev 3211)
@@ -34,13 +34,13 @@
 import java.util.List;
 
 /**
- * Scans data types for MTOM and swaRef declarations.
+ * Scans java beans for MTOM and swaRef declarations.<br>
  * It basically searches for
  * <ul>
  * <li><code>@XmlMimeType</code>
  * <li><code>@XmlAttachmentRef</code>
  * </ul>
- * and returns the appropriate mimetype. 
+ * and returns the appropriate mimetype.<br> 
  * In order to re-use an instance of this class you need to invoke <code>reset()</code>
  * in between scans.
  *
@@ -73,8 +73,7 @@
     */
    public AttachmentScanResult scan(Class xmlRoot)
    {
-      if( isJDKType(xmlRoot) )  // TODO: this fails with wrapper beans
-         return null;
+      if( isJDKType(xmlRoot) )  return null;
 
       AttachmentScanResult result = null;
 




More information about the jbossws-commits mailing list