Author: heiko.braun(a)jboss.com
Date: 2006-11-09 07:09:32 -0500 (Thu, 09 Nov 2006)
New Revision: 1413
Modified:
trunk/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java
Log:
Fix JBCTS-391
Modified: trunk/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java 2006-11-09
12:07:52 UTC (rev 1412)
+++ trunk/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java 2006-11-09
12:09:32 UTC (rev 1413)
@@ -371,15 +371,20 @@
if (webMethodCount == 0)
{
Class superClass = wsClass.getSuperclass();
- while (superClass != null)
+ boolean isJDKClass =
superClass.getPackage().getName().startsWith("java");
+
+ if(!isJDKClass)
{
- for (Method method : superClass.getMethods())
+ while (superClass != null)
{
- processWebMethod(epMetaData, method);
- webMethodCount++;
+ for (Method method : superClass.getMethods())
+ {
+ processWebMethod(epMetaData, method);
+ webMethodCount++;
+ }
+
+ superClass = superClass.getSuperclass();
}
-
- superClass = superClass.getSuperclass();
}
}
Show replies by date