#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) |
ifndef HY_ZIP_API | |
JavaVMInitArgs *JNICALL * | GetInitArgs (VMInterface *vmi) |
Return a pointer to a JavaVMInitArgs structure as defined by the 1.2 JNI specification. |
VMInterfaceFunctions_::GetJavaVM | ( | VMInterface * | vmi | ) |
Return the JNI JavaVM associated with the VM interface.
JavaVM* JNICALL GetJavaVM(VMInterface* vmi);
[in] | vmi | The VM interface pointer |
VMInterfaceFunctions_::GetPortLibrary | ( | 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.
[in] | vmi | The VM interface pointer |
VMInterfaceFunctions_::GetVMLSFunctions | ( | VMInterface * | vmi | ) |
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);
[in] | vmi | The VM interface pointer |
VMInterfaceFunctions_::GetZipCachePool | ( | VMInterface * | vmi | ) |
ifndef HY_ZIP_API
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(). else
VMInterfaceFunctions_::GetInitArgs | ( | VMInterface * | vmi | ) |
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);
[in] | vmi | The VM interface pointer |
Genereated on Tue Dec 9 14:13:00 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.