cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r796023 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java
Date Mon, 20 Jul 2009 21:27:30 GMT
Author: dkulp
Date: Mon Jul 20 21:27:30 2009
New Revision: 796023

URL: http://svn.apache.org/viewvc?rev=796023&view=rev
Log:
Fix an issue where the annoationhandlerchainbuilder may not find the
seiClass if it's in a different classloader.

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java?rev=796023&r1=796022&r2=796023&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java
Mon Jul 20 21:27:30 2009
@@ -41,6 +41,7 @@
 import org.w3c.dom.Node;
 
 import org.apache.cxf.Bus;
+import org.apache.cxf.common.classloader.ClassLoaderUtils;
 import org.apache.cxf.common.i18n.BundleUtils;
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.common.logging.LogUtils;
@@ -303,7 +304,7 @@
                     String seiClassName = ws.endpointInterface().trim();
                     Class seiClass = null;
                     try {
-                        seiClass = clz.getClassLoader().loadClass(seiClassName);
+                        seiClass = ClassLoaderUtils.loadClass(seiClassName, clz);
                     } catch (ClassNotFoundException e) {
                         throw new WebServiceException(BUNDLE.getString("SEI_LOAD_FAILURE_EXC"),
e);
                     }



Mime
View raw message