#include <vmi.h>
Example usage:
JavaVM* vm = (*vmi)->GetJavaVM(vmi);
Public Member Functions | |
| vmiError (JNICALL *CheckVersion)(VMInterface *vmi | |
| 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. | |
| vmiError (JNICALL *GetSystemProperty)(VMInterface *vmi | |
| vmiError (JNICALL *SetSystemProperty)(VMInterface *vmi | |
| vmiError (JNICALL *CountSystemProperties)(VMInterface *vmi | |
| vmiError (JNICALL *IterateSystemProperties)(VMInterface *vmi | |
Public Attributes | |
| vmiVersion * | version |
| char * | key |
| char char ** | valuePtr |
| char * | key |
| char char * | value |
| int * | countPtr |
| vmiSystemPropertyIterator | iterator |
| vmiSystemPropertyIterator void * | userData |
| VMInterfaceFunctions_.vmiError | ( | JNICALL * | CheckVersion | ) |
| 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.
| [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 |
| VMInterfaceFunctions_.vmiError | ( | JNICALL * | GetSystemProperty | ) |
| VMInterfaceFunctions_.vmiError | ( | JNICALL * | SetSystemProperty | ) |
| VMInterfaceFunctions_.vmiError | ( | JNICALL * | CountSystemProperties | ) |
| VMInterfaceFunctions_.vmiError | ( | JNICALL * | IterateSystemProperties | ) |
| char char** VMInterfaceFunctions_.valuePtr |
| char char* VMInterfaceFunctions_.value |
| vmiSystemPropertyIterator VMInterfaceFunctions_.iterator |
| vmiSystemPropertyIterator void* VMInterfaceFunctions_.userData |
Genereated on Tue Mar 11 19:25:27 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.