dufoli commented on a change in pull request #721:
URL: https://github.com/apache/cxf/pull/721#discussion_r521169509
##########
File path: core/src/main/java/org/apache/cxf/common/util/ASMHelper.java
##########
@@ -342,7 +342,10 @@ public ClassWriter createClassWriter() {
TypeHelperClassLoader loader = getTypeHelperClassLoader(l);
return loader.lookupDefinedClass(className);
}
-
+ public static void addExternalClass(String className, ClassLoader l,
Class<?> cls) {
Review comment:
inside quarkiverse-cxf inside a a servlet
https://github.com/quarkiverse/quarkiverse-cxf/blob/master/runtime/src/main/java/io/quarkiverse/cxf/CXFQuarkusServlet.java#L50
or
https://github.com/quarkiverse/quarkiverse-cxf/blob/master/runtime/src/main/java/io/quarkiverse/cxf/CxfClientProducer.java#L19
I can add
ASMHelper.addExternalClass('io.quarkiverse.test.FruitFactory',
Class.forName('io.quarkiverse.test.FruitFactory'));
here it is just for factory but I will provide the full list of generated
class wrapperHelper (for request and response), packageInfo, customException
with faultInfo field, NamespacePrefixMapper
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]