类的使用
cn.taketoday.aot.hint.ResourceHints
使用ResourceHints的程序包
程序包
说明
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.
-
cn.taketoday.aot.hint中ResourceHints的使用
修饰符和类型方法说明ResourceHints.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 givenlocationis 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(TypeReference type) Register that the bytecode of the type defined by the specifiedTypeReferenceshould be made available at runtime.ResourceHints.registerType(Class<?> type) Register that the bytecode of the specified type should be made available at runtime.RuntimeHints.resources()Provide access to resource-based hints. -
cn.taketoday.aot.hint.predicate中ResourceHints的使用
修饰符和类型方法说明(专用程序包) static ResourceHintsPredicates.AggregatedResourcePatternHintsResourceHintsPredicates.AggregatedResourcePatternHints.of(ResourceHints resourceHints) -
cn.taketoday.aot.hint.support中ResourceHints的使用
修饰符和类型方法说明voidFilePatternResourceHintsRegistrar.Builder.registerHints(ResourceHints hints, ClassLoader classLoader) Register resource hints for the current state of this builder.voidFilePatternResourceHintsRegistrar.registerHints(ResourceHints hints, ClassLoader classLoader) -
cn.taketoday.aot.nativex中ResourceHints的使用
参数类型为ResourceHints的cn.taketoday.aot.nativex中的方法修饰符和类型方法说明ResourceHintsWriter.toAttributes(ResourceHints hint) static voidResourceHintsWriter.write(BasicJsonWriter writer, ResourceHints hints) private voidNativeConfigurationWriter.writeResourceHints(ResourceHints hints)