![]() |
Qore jni Module 2.3.0
|
jni namespace More...
Classes | |
class | JavaArray |
Instances of this class represent Java arrays. More... | |
class | QoreInvocationHandler |
Represents an invocation handler used to implement callback from Java to Qore. More... | |
Functions | |
Jni::org::qore::jni::Class | define_class (string name, binary bytecode) |
Creates a class object from bytecode data. More... | |
binary | get_byte_code (string class_name) |
Returns dynamically generated Java byte code for the given Qore class. More... | |
Jni::java::lang::Object | get_class_loader () |
Returns the class loader associated with the current program. More... | |
string | get_version () |
Returns the version of the JNI API. More... | |
Jni::java::lang::Object | implement_interface (Jni::org::qore::jni::QoreInvocationHandler invocationHandler, Jni::java::lang::Class cls) |
Creates a Java object that implements given interface using an invocation handler. More... | |
Jni::java::lang::Object | implement_interface (Jni::java::lang::ClassLoader classLoader, Jni::org::qore::jni::QoreInvocationHandler invocationHandler, Jni::java::lang::Class cls) |
Creates a Java object that implements given interface using an invocation handler using an explicit class loader. More... | |
Jni::java::lang::Object | invoke (Jni::java::lang::reflect::Method method, *Jni::java::lang::Object object,...) |
Invokes a method with the given arguments in a virtual way; meaning that the method in the most derived class is executed; not necessarily the method passed as an argument. More... | |
Jni::java::lang::Object | invoke_nonvirtual (Jni::java::lang::reflect::Method method, *Jni::java::lang::Object object,...) |
Invokes a method with the given arguments in a non-virtual way; meaning that even if the object provided is a child class, the method given in the first argument is executed. More... | |
Jni::java::lang::Class | load_class (string name) |
Loads a Java class with given name. More... | |
Jni::org::qore::jni::JavaArray | new_array (Jni::java::lang::Class cls, int size) |
Allocates a new Java array. More... | |
set_save_object_callback (*code save_object_callback) | |
Sets the "save object" callback for Qore objects created from Java code. More... | |
jni namespace