A class for setting up and tearing down the native library. More...
#include <Library.hpp>
Static Public Member Functions | |
static jint | OnLoad (JavaVM *jvm, void *reserved) |
On library load. More... | |
static void | OnUnload (JavaVM *jvm, void *reserved) |
On library unload. More... | |
static void | registerService (JNIEnv *env, const char *specClassName, const char *implClassName) |
Registers a native service provider. More... | |
static void | init (JNIEnv *env) |
Initializes the native library. More... | |
static void | destroy (JNIEnv *env) |
Destroys the native library. More... | |
A class for setting up and tearing down the native library.
|
static |
Destroys the native library.
env | the JNI environment. |
|
static |
Initializes the native library.
env | the JNI environment. |
|
static |
On library load.
jvm | the pointer to the Java Virtual Machine. |
reserved | the extra data. |
|
static |
On library unload.
jvm | the pointer to the Java Virtual Machine. |
reserved | the extra data. |
|
static |
Registers a native service provider.
env | the JNI environment. |
specClassName | the specification class name. |
implClassName | the implementation class name. |