kv_create_jni_impl_from_jvm()
#include <kvstore.h>
kv_error_t
kv_create_jni_impl_from_jvm(kv_impl_t **impl, void *jvm)
Creates a JNI implementation structure based on a JVM instantiation created by the application.. This object initializes the Java Native Interface layer. Programs written using this implementation will use JNI, and so require a Java runtime to be available in order for the program to run.
The implementation structure is used with kv_open_store().
You release the implementation structure using kv_release_impl().
Parameters
-
impl
The impl parameter references memory into which a pointer to the allocated implementation structure is placed.
-
jvm
The jvm parameter is a pointer to a Java Virtual Machine that was created by the application.
See Also