jni.h File Reference


Detailed Description

This file describes the JNI interface as per the JNI specification 1.5 available from Sun.

See specification for details.


Classes

struct  JNINativeInterface_
 JNI Native Method Interface table for use in C sources. More...
struct  JNIEnv_External
 JNI Native Method Interface table for use in C++ sources. More...
struct  JavaVMOption
 Structure which describes one Java VM invocation argument. More...
struct  JavaVMInitArgs
 Structure which describes one Java VM invocation arguments for JNI interface version 1.2 and greater. More...
struct  JavaVMAttachArgs
 Structure which describes arguments for attaching a native thread to a Java VM. More...
struct  JNIInvokeInterface_
 JNI Invocation Interface table for use in C sources. More...
struct  JavaVM_External
 JNI Invocation Interface table for use in C++ sources. More...

Defines

#define JNI_VERSION_1_1   0x00010001
 Constant which specifies JNI interface version 1.1.
#define JNI_VERSION_1_2   0x00010002
 Constant which specifies JNI interface version 1.2.
#define JNI_VERSION_1_4   0x00010004
 Constant which specifies JNI interface version 1.4.
#define _JNI_EXPORT_   JNIIMPORT
 Function attribute used when building VM from sources.

Functions

JNIIMPORT jint JNICALL JNI_GetDefaultJavaVMInitArgs (void *vm_args)
 Function to get the default VM arguments.
JNIIMPORT jint JNICALL JNI_GetCreatedJavaVMs (JavaVM **vmBuf, jsize bufLen, jsize *nVMs)
 Function to get an array of already created Java VMs in the current process.
JNIIMPORT jint JNICALL JNI_CreateJavaVM (JavaVM **p_vm, JNIEnv **p_env, void *vm_args)
 Creates Java VM in the current process.


Define Documentation

#define JNI_VERSION_1_1   0x00010001

Constant which specifies JNI interface version 1.1.

#define JNI_VERSION_1_2   0x00010002

Constant which specifies JNI interface version 1.2.

#define JNI_VERSION_1_4   0x00010004

Constant which specifies JNI interface version 1.4.

#define _JNI_EXPORT_   JNIIMPORT

Function attribute used when building VM from sources.


Function Documentation

JNIIMPORT jint JNICALL JNI_GetDefaultJavaVMInitArgs ( void *  vm_args  ) 

Function to get the default VM arguments.

See specification for details.

JNIIMPORT jint JNICALL JNI_GetCreatedJavaVMs ( JavaVM **  vmBuf,
jsize  bufLen,
jsize nVMs 
)

Function to get an array of already created Java VMs in the current process.

See specification for details.

JNIIMPORT jint JNICALL JNI_CreateJavaVM ( JavaVM **  p_vm,
JNIEnv **  p_env,
void *  vm_args 
)

Creates Java VM in the current process.

See specification for details.


Genereated on Tue Mar 11 19:25:22 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.