类的使用
cn.taketoday.aot.hint.JavaSerializationHint.Builder
程序包
说明
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
-
cn.taketoday.aot.hint中JavaSerializationHint.Builder的使用
修饰符和类型方法说明JavaSerializationHint.Builder.onReachableType(TypeReference reachableType) Make this hint conditional on the fact that the specified type can be resolved.类型变量类型为JavaSerializationHint.Builder的cn.taketoday.aot.hint中的方法参数修饰符和类型方法说明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, Consumer<JavaSerializationHint.Builder> serializationHint) Register that the specified type need to be serialized using java serialization.