Uses of Class
org.springframework.aot.hint.RuntimeHints
Packages that use RuntimeHints
Package
Description
Support for recording method invocations relevant to
RuntimeHints
metadata.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.
Predicate support for runtime hints.
Convenience classes for using runtime hints.
Support for generating GraalVM native configuration from runtime hints.
Testing support for the
RuntimeHintsAgent
.Annotations and support classes for handling messages.
Annotations and for handling messages from SImple Messaging Protocols such as STOMP.
Annotations for binding requests to controllers and handler methods
as well as for binding request parameters to method arguments.
-
Uses of RuntimeHints in org.springframework.aot.agent
Methods in org.springframework.aot.agent with parameters of type RuntimeHintsModifier and TypeMethodDescriptionboolean
RecordedInvocation.matches
(RuntimeHints hints) Whether the given hints cover the current invocation. -
Uses of RuntimeHints in org.springframework.aot.generate
Methods in org.springframework.aot.generate that return RuntimeHintsModifier and TypeMethodDescriptionDefaultGenerationContext.getRuntimeHints()
GenerationContext.getRuntimeHints()
Return theRuntimeHints
being used by the context.Constructors in org.springframework.aot.generate with parameters of type RuntimeHintsModifierConstructorDescriptionDefaultGenerationContext
(GeneratedClasses generatedClasses, GeneratedFiles generatedFiles, RuntimeHints runtimeHints) Create a newDefaultGenerationContext
instance backed by the specified items. -
Uses of RuntimeHints in org.springframework.aot.hint
Methods in org.springframework.aot.hint with parameters of type RuntimeHintsModifier and TypeMethodDescriptionvoid
RuntimeHintsRegistrar.registerHints
(RuntimeHints hints, ClassLoader classLoader) Contribute hints to the givenRuntimeHints
instance. -
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 aJdkProxyHint
is registered for the given interfaces.ProxyHintsPredicates.forInterfaces
(TypeReference... interfaces) Return a predicate that checks whether aJdkProxyHint
is 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 hint
is registered for the given type.SerializationHintsPredicates.onType
(TypeReference typeReference) Return a predicate that checks whether aserialization hint
is registered for the given type reference.ReflectionHintsPredicates.TypeHintPredicate.withAnyMemberCategory
(MemberCategory... memberCategories) Refine the current predicate to match if any of the givencategories
is present.ReflectionHintsPredicates.TypeHintPredicate.withMemberCategories
(MemberCategory... memberCategories) Refine the current predicate to only match if the givencategories
are present.ReflectionHintsPredicates.TypeHintPredicate.withMemberCategory
(MemberCategory memberCategory) Refine the current predicate to only match if the givenMemberCategory
is present.Methods in org.springframework.aot.hint.predicate with parameters of type RuntimeHintsModifier and TypeMethodDescriptionboolean
ReflectionHintsPredicates.ExecutableHintPredicate.test
(RuntimeHints runtimeHints) boolean
ReflectionHintsPredicates.FieldHintPredicate.test
(RuntimeHints runtimeHints) boolean
ReflectionHintsPredicates.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 void
RuntimeHintsUtils.registerAnnotation
(RuntimeHints hints, Class<?> annotationType) Register the necessary hints so that the specified annotation is visible at runtime. -
Uses of RuntimeHints in org.springframework.aot.nativex
Methods in org.springframework.aot.nativex with parameters of type RuntimeHintsModifier and TypeMethodDescriptionvoid
NativeConfigurationWriter.write
(RuntimeHints hints) Write the GraalVM native configuration from the provided hints. -
Uses of RuntimeHints in org.springframework.aot.test.agent
Methods in org.springframework.aot.test.agent with parameters of type RuntimeHintsModifier and TypeMethodDescriptionvoid
RuntimeHintsInvocationsAssert.match
(RuntimeHints runtimeHints) Verifies that each recorded invocation match at least once hint in the providedRuntimeHints
.org.assertj.core.api.ListAssert<RecordedInvocation>
RuntimeHintsInvocationsAssert.notMatching
(RuntimeHints runtimeHints) -
Uses of RuntimeHints in org.springframework.messaging.handler.annotation
Methods in org.springframework.messaging.handler.annotation with parameters of type RuntimeHintsModifier and TypeMethodDescriptionvoid
MessagingAnnotationsRuntimeHints.registerHints
(RuntimeHints hints, ClassLoader classLoader) -
Uses of RuntimeHints in org.springframework.messaging.simp.annotation
Methods in org.springframework.messaging.simp.annotation with parameters of type RuntimeHintsModifier and TypeMethodDescriptionvoid
SimpAnnotationsRuntimeHints.registerHints
(RuntimeHints hints, ClassLoader classLoader) -
Uses of RuntimeHints in org.springframework.web.bind.annotation
Methods in org.springframework.web.bind.annotation with parameters of type RuntimeHintsModifier and TypeMethodDescriptionvoid
WebAnnotationsRuntimeHintsRegistrar.registerHints
(RuntimeHints hints, ClassLoader classLoader)