Qore jni Module
1.0.1
|
Represents an invocation handler used to implement callback from Java to Qore. More...
Inherits InvocationHandler.
Public Member Methods | |
constructor (code dispatcher) | |
Creates a new invocation handler. More... | |
nothing | destroy () |
Explicitly destroys the invocation handler even if it is still reachable from Java. | |
auto | invoke (auto object, *Jni::java::lang::reflect::Method method, softlist< auto > vargs) |
invocation method for the handler More... | |
Represents an invocation handler used to implement callback from Java to Qore.
Jni::org::qore::jni::QoreInvocationHandler::constructor | ( | code | dispatcher | ) |
Creates a new invocation handler.
dispatcher | a function that implements the dispatching, see example |
auto Jni::org::qore::jni::QoreInvocationHandler::invoke | ( | auto | object, |
*Jni::java::lang::reflect::Method | method, | ||
softlist< auto > | vargs | ||
) |
invocation method for the handler
ERROR-UNSUPPORTED | when called from Qore; currently this can only be invoked from Java |