Top Description Fields Constructors Methods
org.springframework.aot.hint

public Class RuntimeHints

extends Object
Class Inheritance

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.

Authors
Stephane Nicoll, Janne Valkealahti
Since
6.0

Field Summary

Modifier and TypeField and Description
private final ReflectionHints
private final ProxyHints
private final ReflectionHints
private final ResourceHints
private final SerializationHints

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ReflectionHints

Returns:

jni hints
jni
()

Provide access to jni-based hints.

public ProxyHints

Returns:

proxy hints
proxies
()

Provide access to proxy-based hints.

public ReflectionHints

Returns:

reflection hints
reflection
()

Provide access to reflection-based hints.

public ResourceHints

Returns:

resource hints
resources
()

Provide access to resource-based hints.

public SerializationHints

Returns:

serialization hints
serialization
()

Provide access to serialization-based hints.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

jniback to summary
private final ReflectionHints jni
proxiesback to summary
private final ProxyHints proxies
reflectionback to summary
private final ReflectionHints reflection
resourcesback to summary
private final ResourceHints resources
serializationback to summary
private final SerializationHints serialization

Constructor Detail

RuntimeHintsback to summary
public RuntimeHints()

Method Detail

jniback to summary
public ReflectionHints jni()

Provide access to jni-based hints.

Returns:ReflectionHints

jni hints

proxiesback to summary
public ProxyHints proxies()

Provide access to proxy-based hints.

Returns:ProxyHints

proxy hints

reflectionback to summary
public ReflectionHints reflection()

Provide access to reflection-based hints.

Returns:ReflectionHints

reflection hints

resourcesback to summary
public ResourceHints resources()

Provide access to resource-based hints.

Returns:ResourceHints

resource hints

serializationback to summary
public SerializationHints serialization()

Provide access to serialization-based hints.

Returns:SerializationHints

serialization hints