rmannibucau commented on a change in pull request #721:
URL: https://github.com/apache/cxf/pull/721#discussion_r522056133



##########
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:
       @dufoli: i tend to do programmatically or configuration (spring) when 
configuring cxf deployment. I didn't dig into your quarkus integration but if 
you create yourself your bus you can do it quite trivially, if you don't, you 
fallback on a default factory and the txt file is needed (i would recommend you 
to not rely on it since it will be easier to interact with cxf without but it 
works).
   
   To generate you should trigger a cxf deployment (potentially on a local 
storage) and let the spy service capture the proxies, then you dump them in the 
graal classes singleton I think - here again, having the bus means you have the 
service instance so it is quite trivial to run the cxf deployment and read the 
captured instances ;).




----------------------------------------------------------------
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]


Reply via email to