Package org.graalvm.nativeimage.dynamicaccess
package org.graalvm.nativeimage.dynamicaccess
APIs for registering metadata for dynamic access at run time in Native Image:
ReflectiveAccessfor reflection and serialization.ResourceAccessfor resources.JNIAccessfor Java Native Interface (JNI) access.ForeignAccessfor foreign function access.
Feature.AfterRegistrationAccess
during Feature.afterRegistration(Feature.AfterRegistrationAccess). Use
AccessCondition to make registrations conditional
on a type being reached at run time.- Since:
- 25.0.1
-
InterfacesClassDescriptionA condition that must be satisfied to register elements for dynamic access (i.e., reflection, serialization, JNI access, resource access, and foreign access at run time).This interface is used to register classes, methods, and fields for foreign access at run time.This interface is used to register classes, methods, and fields for JNI access at runtime.This interface is used to register classes, methods, and fields for use with the
java.lang.reflectAPI at run time, and for serialization at run time.This interface is used to register Java resources andResourceBundles that should be accessible at run time.