Package org.springframework.nativex.type
Interface NativeConfiguration
-
public interface NativeConfigurationMarker interface for class annotated withNativeHintand related annotations, and provide an SPI for providing programmatic hints when declarative annotations are not flexible enough.- Author:
- Andy Clement, Sebastien Deleuze
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcomputeHints(NativeConfigurationRegistry registry, AotOptions aotOptions)default booleanisValid(AotOptions aotOptions)Implementing this method enables hints on the@NativeConfigurationimplementation to be conditional on some programmatic test.
-
-
-
Method Detail
-
isValid
default boolean isValid(AotOptions aotOptions)
Implementing this method enables hints on the@NativeConfigurationimplementation to be conditional on some programmatic test.- Parameters:
aotOptions- the AOT options configured for this build.- Returns:
trueif the hints on this configuration should apply.
-
computeHints
default void computeHints(NativeConfigurationRegistry registry, AotOptions aotOptions)
- Parameters:
registry- the registry that allows to register native configuration.aotOptions- the AOT options configured for this build.
-
-