Syntax
interface XJavaThreadRegister_11 : com::sun::star::uno::XInterface ;
Description
must be implemented by the user of the XJavaThreadRegister_11.
Method 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 registerd threads.
|
|
Known Services Which Export this Interface
|
com::sun::star::java::JavaVirtualMachine -
com::sun::star::java::JavaVirtualMashine -
com::sun::star::java::JavaVirtualMachine -
com::sun::star::java::JavaVirtualMashine -
Method Details
|
|
Syntax
- boolean isThreadAttached
();
Description
returns true
if the current thread is already attached to the VM otherwise false
.
Syntax
- void registerThread
();
Description
registers the current thread.
This method should be called every time a JNI function is called from Java.
Syntax
- void revokeThread
();
Description
revokes the current thread from the list of registerd threads.
This method should be called at the end of every JNI call from Java.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.