You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by mm...@apache.org on 2004/10/20 20:05:24 UTC

svn commit: rev 55173 - in incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor: apt reflection

Author: mmerz
Date: Wed Oct 20 11:05:23 2004
New Revision: 55173

Modified:
   incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessor.java
   incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/reflection/WsmReflectionAnnotationProcessor.java
Log:


Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessor.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessor.java	(original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessor.java	Wed Oct 20 11:05:23 2004
@@ -170,16 +170,13 @@
     protected AnnotationModel checkObjectModel(Class clazz, javax.jws.WebService ws)
     {
         WebServiceTYPEMetadata wstm =
-            (WebServiceTYPEMetadata) WsmReflectionAnnotationProcessor.getInstance().getObjectModelFromServiceEndpointInterface(clazz);
+            (WebServiceTYPEMetadata) WsmReflectionAnnotationProcessor.getInstance().getObjectModel(clazz);
 
         if (null == wstm)
         {
             throw new ProcessorException("Failed to create object model for class: " + clazz.getName());
             // todo: proper error handling
         }
-
-        wstm.setWsServiceName(ws.serviceName());
-        wstm.setWsEndpointInterface(ws.endpointInterface());
 
         return wstm;
     }

Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/reflection/WsmReflectionAnnotationProcessor.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/reflection/WsmReflectionAnnotationProcessor.java	(original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/reflection/WsmReflectionAnnotationProcessor.java	Wed Oct 20 11:05:23 2004
@@ -93,6 +93,8 @@
     }
     
     /**
+     * todo: needs to move into "object model"
+     *
      * Create object model from service endpoint interface.
      * @param clazz
      * @return