Top Description Constructors Methods
org.graalvm.nativeimage.hosted

public final Class RuntimeProxyCreation

extends Object
Class Inheritance
Annotations
@Platforms:HOSTED_ONLY
Imports
org.graalvm.nativeimage.ImageSingletons, .Platform, .Platforms, org.graalvm.nativeimage.impl.ConfigurationCondition, .RuntimeProxyCreationSupport

This class can be used to make creating dynamic proxy classes at run time valid.
Since
22.3

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
register(Class<?>... interfaces)

Enables registering specifications of java.lang.reflect.Proxy classes during the image build so that matching proxy objects can be created at runtime.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RuntimeProxyCreationback to summary
private RuntimeProxyCreation()

Method Detail

registerback to summary
public static void register(Class<?>... interfaces)

Enables registering specifications of java.lang.reflect.Proxy classes during the image build so that matching proxy objects can be created at runtime. The proxy class is fully specified by the interfaces it implements.

Since
22.3