#include <vmi.h>
Example usage:
JavaVM* vm = (*vmi)->GetJavaVM(vmi);
Public Member Functions | |
JavaVM *JNICALL * | GetJavaVM (VMInterface *vmi) |
Return the JNI JavaVM associated with the VM interface. | |
HyPortLibrary *JNICALL * | GetPortLibrary (VMInterface *vmi) |
Return a pointer to an initialized HyPortLibrary structure. | |
HyVMLSFunctionTable *JNICALL * | GetVMLSFunctions (VMInterface *vmi) |
Return a pointer to a HyVMLSFunctionTable. | |
HyZipCachePool *JNICALL * | GetZipCachePool (VMInterface *vmi) |
Return a pointer to the HyZipCachePool structure used by the VM. | |
JavaVMInitArgs *JNICALL * | GetInitArgs (VMInterface *vmi) |
Return a pointer to a JavaVMInitArgs structure as defined by the 1.2 JNI specification. |
|
Return a pointer to a JavaVMInitArgs structure as defined by the 1.2 JNI specification. This structure contains the arguments used to invoke the vm.
JavaVMInitArgs* JNICALL GetInitArgs(VMInterface* vmi);
|
|
Return the JNI JavaVM associated with the VM interface.
JavaVM* JNICALL GetJavaVM(VMInterface* vmi);
|
|
Return a pointer to an initialized HyPortLibrary structure.
HyPortLibrary* JNICALL GetPortLibrary(VMInterface* vmi); The port library is a table of functions that implement useful platform specific capability. For example, file and socket manipulation, memory management, etc. It is the responsibility of the VM to create the port library.
|
|
Return a pointer to a HyVMLSFunctionTable. This is a table of functions for allocating, freeing, getting, and setting thread local storage.
HyVMLSFunctionTable* JNICALL GetVMLSFunctions(VMInterface* vmi);
|
|
Return a pointer to the HyZipCachePool structure used by the VM. It is the responsibility of the vm to allocate the pool using zipCachePool_new().
HyZipCachePool* JNICALL GetZipCachePool(VMInterface* vmi);
|