MADARA  3.1.8
madara::utility::java::Acquire_VM Class Reference

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...
 

Detailed Description

This class encapsulates attaching and detaching to a VM.

Definition at line 24 of file Acquire_VM.h.

Constructor & Destructor Documentation

madara::utility::java::Acquire_VM::Acquire_VM ( bool  no_detach = false)
inline

Constructor.

Parameters
no_detachif true, do not try to detach, regardless of results of JNI Env returned

Definition at line 32 of file Acquire_VM.h.

madara::utility::java::Acquire_VM::~Acquire_VM ( )
inline

Destructor.

Definition at line 49 of file Acquire_VM.h.

Member Data Documentation

JNIEnv* madara::utility::java::Acquire_VM::env

The Java environment.

Definition at line 58 of file Acquire_VM.h.

bool madara::utility::java::Acquire_VM::needs_detach
protected

Flag for determining whether to call detach in destructor.

Definition at line 64 of file Acquire_VM.h.


The documentation for this class was generated from the following file: