Class RuntimeHintsHelper

java.lang.Object
org.apache.camel.spring.boot.aot.RuntimeHintsHelper

public final class RuntimeHintsHelper extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 unit
      classLoader - the ClassLoader to load classpath resources with, or null for using the thread context class loader at the time of actual resource access
      className - the name of the class to register
      memberCategories - 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 unit
      clazz - the class to register
      memberCategories - the member categories to apply