public interface EagerExportProvider
used for AOT
. On SVM we can rely that the closed world analysis
registers all exports at image generation time, so there is no need to use these service
providers.
Service provider interface implementations and uses are intended to be automatically generated by
the Truffle DSL annotation processor. Do not declare custom eager export providers or call
EagerExportProvider.ensureRegistered()
.
Modifier and Type | Method and Description |
---|---|
void |
ensureRegistered()
Ensures that the export is registered and usable.
|
String |
getLibraryClassName()
Returns the
class name of the library to be used. |
void ensureRegistered()
String getLibraryClassName()
class name
of the library to be used. Uses a string to
avoid triggering class loading for all libraries.