Uses of Class
org.springframework.aot.hint.ResourceHints
Package
Description
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
Convenience classes for using runtime hints.
-
Uses of ResourceHints in org.springframework.aot.hint
Modifier and TypeMethodDescriptionResourceHints.registerPattern
(String include) Register that the resources matching the specified pattern should be made available at runtime.ResourceHints.registerPattern
(Consumer<ResourcePatternHints.Builder> resourceHint) Register that the resources matching the specified pattern should be made available at runtime.ResourceHints.registerPatternIfPresent
(ClassLoader classLoader, String location, Consumer<ResourcePatternHints.Builder> resourceHint) Register a pattern if the givenlocation
is available on the classpath.ResourceHints.registerResourceBundle
(String baseName) Register that the resource bundle with the specified base name should be made available at runtime.ResourceHints.registerResourceBundle
(String baseName, Consumer<ResourceBundleHint.Builder> resourceHint) Register that the resource bundle with the specified base name should be made available at runtime.ResourceHints.registerType
(Class<?> type) Register that the bytecode of the specified type should be made available at runtime.ResourceHints.registerType
(TypeReference type) Register that the bytecode of the type defined by the specifiedTypeReference
should be made available at runtime.RuntimeHints.resources()
Provide access to resource-based hints. -
Uses of ResourceHints in org.springframework.aot.hint.support
Modifier and TypeMethodDescriptionvoid
FilePatternResourceHintsRegistrar.Builder.registerHints
(ResourceHints hints, ClassLoader classLoader) Register resource hints for the current state of this builder.void
FilePatternResourceHintsRegistrar.registerHints
(ResourceHints hints, ClassLoader classLoader) Deprecated, for removal: This API element is subject to removal in a future version.