LibreOffice
LibreOffice 25.8 SDK API Reference
|
must be implemented by the user of the XJavaThreadRegister_11. More...
import "XJavaThreadRegister_11.idl";
Public Member Functions | |
boolean | isThreadAttached () |
returns TRUE if the current thread is already attached to the VM otherwise FALSE. | |
void | registerThread () |
registers the current thread. | |
void | revokeThread () |
revokes the current thread from the list of registered threads. | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. |
boolean isThreadAttached | ( | ) |
returns TRUE if the current thread is already attached to the VM otherwise FALSE.
void registerThread | ( | ) |
registers the current thread.
This method should be called every time a JNI function is called from Java.
void revokeThread | ( | ) |
revokes the current thread from the list of registered threads.
This method should be called at the end of every JNI call from Java.