public static class Library.Handler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.reflect.Method |
OBJECT_EQUALS |
(package private) static java.lang.reflect.Method |
OBJECT_HASHCODE |
(package private) static java.lang.reflect.Method |
OBJECT_TOSTRING |
Constructor and Description |
---|
Handler(java.lang.String libname,
java.lang.Class<?> interfaceClass,
java.util.Map<java.lang.String,?> options) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getInterfaceClass() |
java.lang.String |
getLibraryName() |
NativeLibrary |
getNativeLibrary() |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] inArgs) |
static final java.lang.reflect.Method OBJECT_TOSTRING
static final java.lang.reflect.Method OBJECT_HASHCODE
static final java.lang.reflect.Method OBJECT_EQUALS
public Handler(java.lang.String libname, java.lang.Class<?> interfaceClass, java.util.Map<java.lang.String,?> options)
public NativeLibrary getNativeLibrary()
public java.lang.String getLibraryName()
public java.lang.Class<?> getInterfaceClass()
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] inArgs) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable