类的使用
cn.taketoday.aot.hint.SerializationHints
使用SerializationHints的程序包
程序包
说明
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
Support for generating GraalVM native configuration from runtime hints.
-
cn.taketoday.aot.hint中SerializationHints的使用
修饰符和类型方法说明SerializationHints.registerType(TypeReference type) Register that the type defined by the specifiedTypeReferenceneed to be serialized using java serialization.SerializationHints.registerType(TypeReference type, Consumer<JavaSerializationHint.Builder> serializationHint) Register that the type defined by the specifiedTypeReferenceneed to be serialized using java serialization.SerializationHints.registerType(Class<? extends Serializable> type) Register that the specified type need to be serialized using java serialization.SerializationHints.registerType(Class<? extends Serializable> type, Consumer<JavaSerializationHint.Builder> serializationHint) Register that the specified type need to be serialized using java serialization.RuntimeHints.serialization()Provide access to serialization-based hints. -
cn.taketoday.aot.nativex中SerializationHints的使用
修饰符和类型方法说明static voidSerializationHintsWriter.write(BasicJsonWriter writer, SerializationHints hints) private voidNativeConfigurationWriter.writeSerializationHints(SerializationHints hints)