|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kenai.jffi.NativeMethods
public final class NativeMethods
Utility class to register native methods on a class
| Method Summary | |
|---|---|
static void |
register(Class clazz,
List<NativeMethod> methods)
Registers the native methods for a class. |
static void |
unregister(Class clazz)
Removes all native method attachments for the specified class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final void register(Class clazz,
List<NativeMethod> methods)
clazz - The java class to register the native methods for.methods - The list of methods to attach to the class.public static final void unregister(Class clazz)
clazz - The class to unregister the native methods on.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||