#include <JVMWrapper.h>
Static Public Member Functions | |
static void | initialize (JavaVM *jvm) |
Initializes JVMWrapper class. | |
static JNIEnv * | getEnv () |
Returns JNIEnv pointer. | |
static void | exit (int status=-1) |
Exits JVM. | |
static void | exitCritical (int status=-1) |
Displays error message and exits JVM. | |
static bool | attachCurrentThread () |
Attaches current thread. | |
static bool | detachCurrentThread () |
Dttaches current thread. |
void JVMWrapper::initialize | ( | JavaVM * | jvm | ) | [static] |
JNIEnv * JVMWrapper::getEnv | ( | ) | [static] |
Returns JNIEnv pointer.
void JVMWrapper::exit | ( | int | status = -1 |
) | [static] |
Exits JVM.
status | the status code |
void JVMWrapper::exitCritical | ( | int | status = -1 |
) | [static] |
Displays error message and exits JVM.
status | the status code |
bool JVMWrapper::attachCurrentThread | ( | ) | [static] |
Attaches current thread.
true
if succeed bool JVMWrapper::detachCurrentThread | ( | ) | [static] |
Dttaches current thread.
true
if succeed