Qore jni Module 2.3.1
Loading...
Searching...
No Matches
org.qore.jni.QoreJavaClassBase Class Referenceabstract

marker base class for a Qore classes imported dynamically into Java More...

Inheritance diagram for org.qore.jni.QoreJavaClassBase:
org.qore.jni.QoreObject org.qore.jni.QoreObjectBase

Public Member Methods

 QoreJavaClassBase (long cptr, long mptr, long vptr, Object... args) throws Throwable
 Default constructor.
 
 QoreJavaClassBase (QoreJavaObjectPtr obj)
 creates the wrapper object with a pointer to an object; this Java object holds a weak reference to the Qore object passed here
 
- Public Member Methods inherited from org.qore.jni.QoreObject
 QoreObject (long obj)
 creates the wrapper object with a pointer to an object; this Java object holds a weak reference to the Qore object passed here
 
 QoreObject (long qcptr, long mptr, long vptr, Object... args) throws Throwable
 creates the wrapper object with a pointer to an object; this Java object holds a weak reference to the Qore object passed here
 
String className ()
 returns the class name for the object
 
boolean instanceOf (String class_name)
 returns true if the object is an instance of the given class
 
Object callMethod (String name, Object... args) throws Throwable
 calls the given method with the given arguments and returns the result More...
 
Object callMethodArgs (String name, Object[] args) throws Throwable
 calls the given method with the given arguments and returns the result More...
 
Object callMethodSave (String name, Object... args) throws Throwable
 Calls the given method with the given arguments and returns the result; if an object is returned, then a strong reference to the object is stored in thread-local data. More...
 
Object callMethodArgsSave (String name, Object[] args) throws Throwable
 Calls the given method with the given arguments and returns the result; if an object is returned, then a strong reference to the object is stored in thread-local data. More...
 
Object getMemberValue (String name) throws Throwable
 returns the value of the given member
 
- Public Member Methods inherited from org.qore.jni.QoreObjectBase
 QoreObjectBase (long qcptr, long mptr, long vptr, Object... args) throws Throwable
 creates the wrapper object with a pointer to an object; this Java object holds a weak reference to the Qore object passed here
 
 QoreObjectBase (long obj)
 creates the wrapper object with a pointer to an object; this Java object holds a weak reference to the Qore object passed here
 
long get ()
 returns the pointer to the object
 
void release ()
 releases the Qore object without destroying it More...
 
void destroy ()
 runs the destructor
 

Additional Inherited Members

- Private Member Methods inherited from org.qore.jni.QoreObjectBase
void finalize () throws Throwable
 releases the weak reference
 
- Private Attributes inherited from org.qore.jni.QoreObjectBase
long obj
 a pointer to the Qore object
 

Detailed Description

marker base class for a Qore classes imported dynamically into Java

Since
2.0

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