Package jnr.ffi.provider
Class NativeInvocationHandler
java.lang.Object
jnr.ffi.provider.NativeInvocationHandler
- All Implemented Interfaces:
InvocationHandler
InvocationHandler used to map invocations on a java interface to the correct native function.
-
Constructor Summary
ConstructorsConstructorDescriptionNativeInvocationHandler(Map<Method, Invoker> invokers) Creates a new InvocationHandler instance. -
Method Summary
-
Constructor Details
-
NativeInvocationHandler
Creates a new InvocationHandler instance.- Parameters:
invokers- A map of method invokers
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-