:: com :: sun :: star :: java ::

interface XJavaThreadRegister_11

Methods' Summary
isThreadAttached returns `TRUE` if the current thread is already attached to the VM otherwise `FALSE`.  
registerThread registers the current thread.  
revokeThread revokes the current thread from the list of registered threads.  
Methods' Details
isThreadAttached
boolean
isThreadAttached();

Description
returns `TRUE` if the current thread is already attached to the VM otherwise `FALSE`.
registerThread
void
registerThread();

Description
registers the current thread.

This method should be called every time a JNI function is called from Java.

revokeThread
void
revokeThread();

Description
revokes the current thread from the list of registered threads.

This method should be called at the end of every JNI call from Java.

Top of Page