接口 RuntimeHintsRegistrar
- 所有已知实现类:
ObjectToObjectConverterRuntimeHints,TodayPropertiesRuntimeHints,TodayStrategiesRuntimeHints
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Contract for registering
RuntimeHints based on the ClassLoader
of the deployment unit. Implementations should, if possible, use the specified
ClassLoader to determine if hints have to be contributed.
Implementations of this interface can be registered dynamically by using
@ImportRuntimeHints
or statically in META-INF/config/aot.factories by using the FQN of this
interface as the key. A standard no-arg constructor is required for implementations.
- 从以下版本开始:
- 4.0
- 作者:
- Brian Clozel, Stephane Nicoll
-
方法概要
修饰符和类型方法说明voidregisterHints(RuntimeHints hints, ClassLoader classLoader) Contribute hints to the givenRuntimeHintsinstance.
-
方法详细资料
-
registerHints
Contribute hints to the givenRuntimeHintsinstance.- 参数:
hints- the hints contributed so far for the deployment unitclassLoader- the classloader, ornullif even the system ClassLoader isn't accessible
-