Class NativeConfigurationRegistry
- java.lang.Object
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeConfigurationRegistry
-
public class NativeConfigurationRegistry extends Object
Collect the required native configuration, such as the need forruntime reflection
orresources
.- Author:
- Brian Clozel, Stephane Nicoll, Sebastien Deleuze
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NativeConfigurationRegistry.InitializationConfiguration
Configure the needs for class initialization.static class
NativeConfigurationRegistry.ProxyConfiguration
Configure the needs for runtime proxies.static class
NativeConfigurationRegistry.ReflectionConfiguration
Configure the need for runtime reflection metadata on classes, methods, and fields.static class
NativeConfigurationRegistry.ResourcesConfiguration
Configure the needs for runtime resources.static class
NativeConfigurationRegistry.SerializationConfiguration
Configure the needs for serialization.
-
Constructor Summary
Constructors Constructor Description NativeConfigurationRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NativeConfigurationRegistry.InitializationConfiguration
initialization()
Access the initialization configuration of this registry.NativeConfigurationRegistry.ReflectionConfiguration
jni()
Access the JNI reflection configuration of this registry.Set<String>
options()
Access the native-image options of this registry.NativeConfigurationRegistry.ProxyConfiguration
proxy()
Access the proxy configuration of this registry.NativeConfigurationRegistry.ReflectionConfiguration
reflection()
Access the reflection configuration of this registry.NativeConfigurationRegistry.ResourcesConfiguration
resources()
Access the resources configuration of this registry.NativeConfigurationRegistry.SerializationConfiguration
serialization()
Access the serialization configuration of this registry.
-
-
-
Method Detail
-
reflection
public NativeConfigurationRegistry.ReflectionConfiguration reflection()
Access the reflection configuration of this registry.- Returns:
- the reflection configuration
-
jni
public NativeConfigurationRegistry.ReflectionConfiguration jni()
Access the JNI reflection configuration of this registry.- Returns:
- the JNI reflection configuration
-
resources
public NativeConfigurationRegistry.ResourcesConfiguration resources()
Access the resources configuration of this registry.- Returns:
- the resources configuration
-
proxy
public NativeConfigurationRegistry.ProxyConfiguration proxy()
Access the proxy configuration of this registry.- Returns:
- the proxy configuration
-
initialization
public NativeConfigurationRegistry.InitializationConfiguration initialization()
Access the initialization configuration of this registry.- Returns:
- the initialization configuration
-
serialization
public NativeConfigurationRegistry.SerializationConfiguration serialization()
Access the serialization configuration of this registry.- Returns:
- the serialization configuration
-
-