Package org.springframework.nativex.type
Interface NativeConfiguration
-
public interface NativeConfiguration
Marker interface for class annotated withNativeHint
and 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 void
computeHints(NativeConfigurationRegistry registry, AotOptions aotOptions)
default boolean
isValid(AotOptions aotOptions)
Implementing this method enables hints on the@NativeConfiguration
implementation to be conditional on some programmatic test.
-
-
-
Method Detail
-
isValid
default boolean isValid(AotOptions aotOptions)
Implementing this method enables hints on the@NativeConfiguration
implementation to be conditional on some programmatic test.- Parameters:
aotOptions
- the AOT options configured for this build.- Returns:
true
if 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.
-
-