Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

java_lang_Class.c File Reference


Detailed Description

Sample subset of java.lang.Class native methods.

This file contains a stub sample implementation this class.

The full implementation of this source file should contain each and every native method that is declared by the implmentation and it should be stored in a shared archive along with the other classes of this Java package's native methods.

In this stub sample, the parameter (JNIEnv *) is not considered. Obviously, this is required for proper linkage in a real implementation.

Control

$URL: https://svn.apache.org/path/name/java_lang_Class.c $ $Id: java_lang_Class.c 0 09/28/2005 dlydick $

Copyright 2005 The Apache Software Foundation or its licensors, as applicable.

Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Version:
$LastChangedRevision: 0 $
Date:
$LastChangedDate: 09/28/2005 $
Author:
$LastChangedBy: dlydick $ Original code contributed by Daniel Lydick on 09/28/2005.

Reference

Definition in file java_lang_Class.c.

#include <jni.h>
#include "java_lang_Class.h"
#include "jlClass.h"

Go to the source code of this file.

Functions

JNIEXPORT jboolean JNICALL Java_java_lang_Class_isArray (JNIEnv *env, jobject jo)
 Native definition for java.lang.Class.isArray().
JNIEXPORT jboolean JNICALL Java_java_lang_Class_isPrimitive (JNIEnv *env, jobject jo)
 Native definition for java.lang.Class.isPrimative().
JNIEXPORT void JNICALL Java_java_lang_Class_registerNatives (JNIEnv *env, jclass jc)
 Native definition for java.lang.Class.registerNatives().
JNIEXPORT void JNICALL Java_java_lang_Class_unregisterNatives (JNIEnv *env, jclass jc)
 Native definition for java.lang.Class.unregisterNatives().


Function Documentation

JNIEXPORT void JNICALL Java_java_lang_Class_registerNatives JNIEnv *  env,
jclass  jc
 

Native definition for java.lang.Class.registerNatives().

   Class:     java_lang_Class
   Method:    registerNatives
   Signature: ()V
   

Definition at line 67 of file java_lang_Class.c.

Referenced by main().

JNIEXPORT void JNICALL Java_java_lang_Class_unregisterNatives JNIEnv *  env,
jclass  jc
 

Native definition for java.lang.Class.unregisterNatives().

   Class:     java_lang_Class
   Method:    unregisterNatives
   Signature: ()V
   

Definition at line 85 of file java_lang_Class.c.

Referenced by main().

JNIEXPORT jboolean JNICALL Java_java_lang_Class_isArray JNIEnv *  env,
jobject  jo
 

Native definition for java.lang.Class.isArray().

   Class:     java_lang_Class
   Method:    isArray
   Signature: ()Z
   

Definition at line 103 of file java_lang_Class.c.

References jlClass_isArray().

Referenced by main().

JNIEXPORT jboolean JNICALL Java_java_lang_Class_isPrimitive JNIEnv *  env,
jobject  jo
 

Native definition for java.lang.Class.isPrimative().

   Class:     java_lang_Class
   Method:    isPrimitive
   Signature: ()Z
   

Definition at line 121 of file java_lang_Class.c.

References jlClass_isPrimative().

Referenced by main().


Generated on Fri Sep 30 18:59:41 2005 by  doxygen 1.4.4