类 NativeConfigurationWriter

java.lang.Object
cn.taketoday.aot.nativex.NativeConfigurationWriter
直接已知子类:
FileNativeConfigurationWriter

public abstract class NativeConfigurationWriter extends Object
Write RuntimeHints as GraalVM native configuration.
从以下版本开始:
4.0
作者:
Sebastien Deleuze, Stephane Nicoll, Janne Valkealahti, Harry Yang
另请参阅:
  • 构造器详细资料

    • NativeConfigurationWriter

      public NativeConfigurationWriter()
  • 方法详细资料

    • write

      public void write(RuntimeHints hints)
      Write the GraalVM native configuration from the provided hints.
      参数:
      hints - the hints to handle
    • writeTo

      protected abstract void writeTo(String fileName, Consumer<BasicJsonWriter> writer)
      Write the specified GraalVM native configuration file, using the provided BasicJsonWriter.
      参数:
      fileName - the name of the file
      writer - a consumer for the writer to use
    • writeSerializationHints

      private void writeSerializationHints(SerializationHints hints)
    • writeProxyHints

      private void writeProxyHints(ProxyHints hints)
    • writeReflectionHints

      private void writeReflectionHints(ReflectionHints hints)
    • writeResourceHints

      private void writeResourceHints(ResourceHints hints)
    • writeJniHints

      private void writeJniHints(ReflectionHints hints)