|
MADARA
3.1.8
|
This class encapsulates attaching and detaching to a VM. More...
#include <Acquire_VM.h>
Public Member Functions | |
| Acquire_VM (bool no_detach=false) | |
| Constructor. More... | |
| ~Acquire_VM () | |
| Destructor. More... | |
Public Attributes | |
| JNIEnv * | env |
| The Java environment. More... | |
Protected Attributes | |
| bool | needs_detach |
| Flag for determining whether to call detach in destructor. More... | |
This class encapsulates attaching and detaching to a VM.
Definition at line 24 of file Acquire_VM.h.
|
inline |
Constructor.
| no_detach | if true, do not try to detach, regardless of results of JNI Env returned |
Definition at line 32 of file Acquire_VM.h.
|
inline |
Destructor.
Definition at line 49 of file Acquire_VM.h.
| JNIEnv* madara::utility::java::Acquire_VM::env |
The Java environment.
Definition at line 58 of file Acquire_VM.h.
|
protected |
Flag for determining whether to call detach in destructor.
Definition at line 64 of file Acquire_VM.h.