lburgazzoli commented on a change in pull request #392: Perform 
TypeConverterLoader discovery using jandex instead of camel's class path scanner
URL: https://github.com/apache/camel-quarkus/pull/392#discussion_r344684441
 
 

 ##########
 File path: 
extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelSupport.java
 ##########
 @@ -87,6 +88,14 @@ public static boolean isPublic(ClassInfo ci) {
                 .map(ClassInfo::toString);
     }
 
+    public static CamelBeanBuildItem createBeanFromType(RecorderContext 
context, String type) {
+        return new CamelBeanBuildItem(type, context.classProxy(type), 
context.newInstance(type));
+    }
+
+    public static CamelBeanBuildItem createBeanFromType(RecorderContext 
context, ClassInfo info) {
+        return createBeanFromType(context, info.name().toString());
+    }
+
 
 Review comment:
   they are leftover, let me remove them

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to