类 RuntimeHints

java.lang.Object
cn.taketoday.aot.hint.RuntimeHints

public class RuntimeHints extends Object
Gather hints that can be used to optimize the application runtime.

Use of reflection can be recorded for individual members of a type, as well as broader member categories. Access to resources can be specified using patterns or the base name of a resource bundle.

Hints that require the need for Java serialization of proxies can be recorded as well.

从以下版本开始:
4.0
作者:
Stephane Nicoll, Janne Valkealahti
  • 字段详细资料

  • 构造器详细资料

    • RuntimeHints

      public RuntimeHints()
  • 方法详细资料

    • reflection

      public ReflectionHints reflection()
      Provide access to reflection-based hints.
      返回:
      reflection hints
    • resources

      public ResourceHints resources()
      Provide access to resource-based hints.
      返回:
      resource hints
    • serialization

      public SerializationHints serialization()
      Provide access to serialization-based hints.
      返回:
      serialization hints
    • proxies

      public ProxyHints proxies()
      Provide access to proxy-based hints.
      返回:
      proxy hints
    • jni

      public ReflectionHints jni()
      Provide access to jni-based hints.
      返回:
      jni hints