geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r526068 - /geronimo/server/trunk/modules/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/EjbWebServiceGBean.java
Date Fri, 06 Apr 2007 05:50:03 GMT
Author: gawor
Date: Thu Apr  5 22:50:02 2007
New Revision: 526068

URL: http://svn.apache.org/viewvc?view=rev&rev=526068
Log:
use another method to get the service interface class

Modified:
    geronimo/server/trunk/modules/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/EjbWebServiceGBean.java

Modified: geronimo/server/trunk/modules/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/EjbWebServiceGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/EjbWebServiceGBean.java?view=diff&rev=526068&r1=526067&r2=526068
==============================================================================
--- geronimo/server/trunk/modules/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/EjbWebServiceGBean.java
(original)
+++ geronimo/server/trunk/modules/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/EjbWebServiceGBean.java
Thu Apr  5 22:50:02 2007
@@ -52,6 +52,7 @@
 
         this.soapHandler = soapHandler;
         this.location = location;
+                        
         //for use as a template
         if (ejbDeploymentContext == null) {
             return;
@@ -61,12 +62,15 @@
 
         JavaServiceDesc serviceDesc = serviceInfo.getServiceDesc();
         service.setServiceDescription(serviceDesc);
-        Class serviceEndpointInterface = ejbDeploymentContext.getServiceEndpointInterface();
-
+        
+        ClassLoader classLoader = ejbDeploymentContext.getClassLoader();
+                
+        Class serviceEndpointInterface = 
+            classLoader.loadClass(ejbDeploymentContext.getServiceEndpointInterfaceName());
+        
         service.setOption("className", serviceEndpointInterface.getName());
         serviceDesc.setImplClass(serviceEndpointInterface);
-
-        ClassLoader classLoader = ejbDeploymentContext.getClassLoader();
+        
         AxisWebServiceContainer axisContainer = new AxisWebServiceContainer(location, wsdlURI,
service, serviceInfo.getWsdlMap(), classLoader);
         if (soapHandler != null) {
             soapHandler.addWebService(location.getPath(), virtualHosts, axisContainer, securityRealmName,
realmName, transportGuarantee, authMethod, classLoader);



Mime
View raw message