Interface and type are separate
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 29 Dec 2009 12:23:07 +0000 (12:23 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 29 Dec 2009 12:23:07 +0000 (12:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894366 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/deploy/ContextService.java
java/org/apache/catalina/startup/WebRuleSet.java

index 90c5efe..d451a70 100644 (file)
@@ -77,6 +77,20 @@ public class ContextService extends ResourceBase {
     }
 
     /**
+     * The fully qualified class name of the JAX-WS Service interface that the
+     * client depends on.
+     */
+    private String serviceInterface = null;
+    
+    public String getInterface() {
+        return serviceInterface;
+    }
+    
+    public void setInterface(String serviceInterface) {
+        this.serviceInterface = serviceInterface;
+    }
+
+    /**
      * Contains the location (relative to the root of
      * the module) of the web service WSDL description.
      */
index 07a3b6e..ae44c48 100644 (file)
@@ -568,6 +568,8 @@ public class WebRuleSet extends RuleSetBase {
         digester.addCallMethod(fullPrefix + "/service-ref/service-ref-name",
                                "setName", 0);
         digester.addCallMethod(fullPrefix + "/service-ref/service-interface",
+                               "setInterface", 0);
+        digester.addCallMethod(fullPrefix + "/service-ref/service-ref-type",
                                "setType", 0);
         digester.addCallMethod(fullPrefix + "/service-ref/wsdl-file",
                                "setWsdlfile", 0);