public final class Provider extends FFIProvider
| Modifier and Type | Field and Description |
|---|---|
private NativeRuntime |
runtime |
| Constructor and Description |
|---|
Provider() |
| Modifier and Type | Method and Description |
|---|---|
<T> LibraryLoader<T> |
createLibraryLoader(java.lang.Class<T> interfaceClass)
Creates a new
LibraryLoader instance. |
Runtime |
getRuntime()
Gets the default Runtime for this provider.
|
getSystemProviderprivate final NativeRuntime runtime
public final Runtime getRuntime()
FFIProvidergetRuntime in class FFIProviderpublic <T> LibraryLoader<T> createLibraryLoader(java.lang.Class<T> interfaceClass)
FFIProviderLibraryLoader instance.createLibraryLoader in class FFIProviderT - The library type.interfaceClass - The library interface class.LibraryLoader instance.