Package org.apache.camel.spring.boot.aot
Class RuntimeHintsHelper
java.lang.Object
org.apache.camel.spring.boot.aot.RuntimeHintsHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
registerClassHierarchy
(org.springframework.aot.hint.RuntimeHints hints, Class<?> clazz, org.springframework.aot.hint.MemberCategory... memberCategories) Register the given class and all its parent classes by applying the given member categories.static void
registerClassHierarchy
(org.springframework.aot.hint.RuntimeHints hints, ClassLoader classLoader, String className, org.springframework.aot.hint.MemberCategory... memberCategories) Register the given class and all its parent classes by applying the given member categories.
-
Method Details
-
registerClassHierarchy
public static void registerClassHierarchy(org.springframework.aot.hint.RuntimeHints hints, ClassLoader classLoader, String className, org.springframework.aot.hint.MemberCategory... memberCategories) Register the given class and all its parent classes by applying the given member categories.- Parameters:
hints
- the hints contributed so far for the deployment unitclassLoader
- the ClassLoader to load classpath resources with, ornull
for using the thread context class loader at the time of actual resource accessclassName
- the name of the class to registermemberCategories
- the member categories to apply
-
registerClassHierarchy
public static void registerClassHierarchy(org.springframework.aot.hint.RuntimeHints hints, Class<?> clazz, org.springframework.aot.hint.MemberCategory... memberCategories) Register the given class and all its parent classes by applying the given member categories.- Parameters:
hints
- the hints contributed so far for the deployment unitclazz
- the class to registermemberCategories
- the member categories to apply
-