jnr.ffi.provider
Class FFIProvider

java.lang.Object
  extended by jnr.ffi.provider.FFIProvider
Direct Known Subclasses:
Provider

public abstract class FFIProvider
extends Object

This class defines the facilities a JNR FFI provider must provide. You most likely do NOT want to use this class directly


Constructor Summary
protected FFIProvider()
           
 
Method Summary
abstract
<T> LibraryLoader<T>
createLibraryLoader(Class<T> interfaceClass)
          Creates a new LibraryLoader instance
abstract  Runtime getRuntime()
          Gets the default Runtime for this provider
static FFIProvider getSystemProvider()
          Gets an instance of FFIProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FFIProvider

protected FFIProvider()
Method Detail

getSystemProvider

public static FFIProvider getSystemProvider()
Gets an instance of FFIProvider

Returns:
an instance of FFIProvider

getRuntime

public abstract Runtime getRuntime()
Gets the default Runtime for this provider


createLibraryLoader

public abstract <T> LibraryLoader<T> createLibraryLoader(Class<T> interfaceClass)
Creates a new LibraryLoader instance



Copyright © 2013. All Rights Reserved.