Struct jni::JavaVM [] [src]

pub struct JavaVM(_);

The invocation API.

Methods

impl JavaVM
[src]

[src]

Create a JavaVM from a raw pointer.

[src]

Attaches the current thread to a Java VM. The resulting AttachGuard can be dereferenced to a JNIEnv and automatically detaches the thread when dropped.

[src]

Attaches the current thread to a Java VM as a daemon.

[src]

Get the JNIEnv associated with the current thread, or ErrorKind::Detached if the current thread is not attached to the java VM.

Trait Implementations

impl Send for JavaVM
[src]

impl Sync for JavaVM
[src]