geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r523032 - in /geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf: CXFEndpoint.java ejb/EJBEndpoint.java
Date Tue, 27 Mar 2007 19:00:02 GMT
Author: gawor
Date: Tue Mar 27 11:59:59 2007
New Revision: 523032

URL: http://svn.apache.org/viewvc?view=rev&rev=523032
Log:
use right class to lookup wsdl (as a resource)

Modified:
    geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java
    geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBEndpoint.java

Modified: geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java?view=diff&rev=523032&r1=523031&r2=523032
==============================================================================
--- geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java
(original)
+++ geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java
Tue Mar 27 11:59:59 2007
@@ -70,7 +70,7 @@
                 wsdlURL = new URL(wsdlFile);
             } catch (MalformedURLException e) {
                 // Not a URL, try as a resource
-                wsdlURL = this.implementor.getClass().getResource("/" + wsdlFile);
+                wsdlURL = getImplementorClass().getResource("/" + wsdlFile);
 
                 if (wsdlURL == null && configurationBaseUrl != null) {
                     // Cannot get it as a resource, try with
@@ -84,6 +84,10 @@
             }
         }
         return wsdlURL;
+    }
+    
+    protected Class getImplementorClass() {
+        return this.implementor.getClass();
     }
     
     org.apache.cxf.endpoint.Endpoint getEndpoint() {

Modified: geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBEndpoint.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBEndpoint.java?view=diff&rev=523032&r1=523031&r2=523032
==============================================================================
--- geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBEndpoint.java
(original)
+++ geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBEndpoint.java
Tue Mar 27 11:59:59 2007
@@ -67,4 +67,8 @@
         service.setInvoker(new EJBMethodInvoker(deploymentInfo));       
     }
     
+    protected Class getImplementorClass() {
+        return (Class)this.implementor;
+    }
+    
 }



Mime
View raw message