Native Interface
NativeHandler class is responsible for calling native methods.
This implementation is more an awkward attempt to support native methods for
testing purposes rather than a real implementation.
NativeHandler servers as a bridge between the VirtualMachine and the standard JNI structure.
Includes
| NativeHandler.h | The definition of the NativeHandler class. |
| jni_wrappers.h | The hierarchy of the dummy JNI class wrappers. |
| jni.h | This is the Sun's standard JNI header file. |
| java_lang_Object.h | An example header of the automatically generated native method files. |
Sources
| NativeHandler.cpp | The implementation of the NativeHandler class. |
| The following are several examples of partially implemented native methods: | |
| java_lang_Object.cpp | The partial native implementation of the java.lang.Object class |
| java_lang_Class.cpp | The partial native implementation of the java.lang.Class class |
| java_lang_Thread.cpp | The partial native implementation of the java.lang.Thread class |
| java_lang_System.cpp | The partial native implementation of the java.lang.System class |
@