Uses of Class
org.springframework.aot.hint.RuntimeHints
Packages that use RuntimeHints
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
Annotation support for runtime hints.
Predicate support for runtime hints.
Convenience classes for using runtime hints.
Support for generating GraalVM native configuration from runtime hints.
-
Uses of RuntimeHints in org.springframework.aot.generate
Methods in org.springframework.aot.generate that return RuntimeHintsModifier and TypeMethodDescriptionDefaultGenerationContext.getRuntimeHints()GenerationContext.getRuntimeHints()Get theRuntimeHintsused by the context.Constructors in org.springframework.aot.generate with parameters of type RuntimeHintsModifierConstructorDescriptionDefaultGenerationContext(ClassNameGenerator classNameGenerator, GeneratedFiles generatedFiles, RuntimeHints runtimeHints) Create a newDefaultGenerationContextinstance backed by the specifiedClassNameGenerator,GeneratedFiles, andRuntimeHints. -
Uses of RuntimeHints in org.springframework.aot.hint
Methods in org.springframework.aot.hint with parameters of type RuntimeHintsModifier and TypeMethodDescriptionvoidRuntimeHintsRegistrar.registerHints(RuntimeHints hints, ClassLoader classLoader) Contribute hints to the givenRuntimeHintsinstance. -
Uses of RuntimeHints in org.springframework.aot.hint.annotation
Methods in org.springframework.aot.hint.annotation with parameters of type RuntimeHintsModifier and TypeMethodDescriptionvoidReflectiveRuntimeHintsRegistrar.registerRuntimeHints(RuntimeHints runtimeHints, Class<?>... types) Register the relevant runtime hints for elements that are annotated withReflective. -
Uses of RuntimeHints in org.springframework.aot.hint.predicate
Methods in org.springframework.aot.hint.predicate that return types with arguments of type RuntimeHintsModifier and TypeMethodDescriptionReturn a predicate that checks whether a resource hint is registered for the given bundle name.ProxyHintsPredicates.forInterfaces(Class<?>... interfaces) Return a predicate that checks whether aJdkProxyHintis registered for the given interfaces.ProxyHintsPredicates.forInterfaces(TypeReference... interfaces) Return a predicate that checks whether aJdkProxyHintis registered for the given interfaces.ResourceHintsPredicates.forResource(String resourceName) Return a predicate that checks whether a resource hint is registered for the given resource name.ResourceHintsPredicates.forResource(TypeReference type, String resourceName) Return a predicate that checks whether a resource hint is registered for the given resource name, located in the given type's package.Return a predicate that checks whether aserialization hintis registered for the given type.SerializationHintsPredicates.onType(TypeReference typeReference) Return a predicate that checks whether aserialization hintis registered for the given type reference.ReflectionHintsPredicates.TypeHintPredicate.withAnyMemberCategory(MemberCategory... memberCategories) Refine the current predicate to match if any of the givencategoriesis present.ReflectionHintsPredicates.TypeHintPredicate.withMemberCategories(MemberCategory... memberCategories) Refine the current predicate to only match if the givencategoriesare present.ReflectionHintsPredicates.TypeHintPredicate.withMemberCategory(MemberCategory memberCategory) Refine the current predicate to only match if the givenMemberCategoryis present.Methods in org.springframework.aot.hint.predicate with parameters of type RuntimeHintsModifier and TypeMethodDescriptionbooleanReflectionHintsPredicates.ConstructorHintPredicate.test(RuntimeHints runtimeHints) booleanReflectionHintsPredicates.FieldHintPredicate.test(RuntimeHints runtimeHints) booleanReflectionHintsPredicates.MethodHintPredicate.test(RuntimeHints runtimeHints) booleanReflectionHintsPredicates.TypeHintPredicate.test(RuntimeHints hints) -
Uses of RuntimeHints in org.springframework.aot.hint.support
Methods in org.springframework.aot.hint.support with parameters of type RuntimeHintsModifier and TypeMethodDescriptionstatic voidClassHintUtils.registerProxyIfNecessary(Class<?> candidateClass, RuntimeHints runtimeHints) Register a proxy hint for a JDK proxy or corresponding reflection hints for a CGLIB-generated subclass, if necessary. -
Uses of RuntimeHints in org.springframework.aot.nativex
Methods in org.springframework.aot.nativex with parameters of type RuntimeHintsModifier and TypeMethodDescriptionvoidNativeConfigurationWriter.write(RuntimeHints hints) Write the GraalVM native configuration from the provided hints.