00001 #ifndef _included_java_lang_Object_h_ 00002 #define _included_java_lang_Object_h_ 00003 /*! 00004 * @file java_lang_Object.h 00005 * 00006 * @brief Sample subset of @c @b java.lang.Object native methods 00007 * 00008 * The full implementation of this header file should contain each and 00009 * every native method that is declared by the implmentation. 00010 * 00011 * 00012 * @section Control 00013 * 00014 * \$URL: https://svn.apache.org/path/name/java_lang_Object.h $ \$Id: java_lang_Object.h 0 09/28/2005 dlydick $ 00015 * 00016 * Copyright 2005 The Apache Software Foundation 00017 * or its licensors, as applicable. 00018 * 00019 * Licensed under the Apache License, Version 2.0 ("the License"); 00020 * you may not use this file except in compliance with the License. 00021 * You may obtain a copy of the License at 00022 * 00023 * http://www.apache.org/licenses/LICENSE-2.0 00024 * 00025 * Unless required by applicable law or agreed to in writing, 00026 * software distributed under the License is distributed on an 00027 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00028 * either express or implied. 00029 * 00030 * See the License for the specific language governing permissions 00031 * and limitations under the License. 00032 * 00033 * @version \$LastChangedRevision: 0 $ 00034 * 00035 * @date \$LastChangedDate: 09/28/2005 $ 00036 * 00037 * @author \$LastChangedBy: dlydick $ 00038 * Original code contributed by Daniel Lydick on 09/28/2005. 00039 * 00040 * @section Reference 00041 * 00042 */ 00043 00044 #include <jni.h> 00045 00046 #ifdef __cplusplus 00047 extern "C" { 00048 #endif 00049 00050 /*! 00051 * @brief Native definition 00052 * for @c @b java.lang.Object.registerNatives() 00053 * 00054 * @verbatim 00055 Class: java_lang_Object 00056 Method: registerNatives 00057 Signature: ()V 00058 @endverbatim 00059 * 00060 */ 00061 JNIEXPORT void JNICALL 00062 Java_java_lang_Object_registerNatives(JNIEnv *, jclass); 00063 00064 00065 /*! 00066 * @brief Native definition 00067 * for @c @b java.lang.Object.unregisterNatives() 00068 * 00069 * @verbatim 00070 Class: java_lang_Object 00071 Method: unregisterNatives 00072 Signature: ()V 00073 @endverbatim 00074 * 00075 */ 00076 JNIEXPORT void JNICALL 00077 Java_java_lang_Object_unregisterNatives(JNIEnv *, jclass); 00078 00079 00080 /*! 00081 * @brief Native definition 00082 * for @c @b java.lang.Object.getClass() 00083 * 00084 * @verbatim 00085 Class: java_lang_Object 00086 Method: getClass 00087 Signature: ()Ljava/lang/Class; 00088 @endverbatim 00089 * 00090 */ 00091 JNIEXPORT jobject JNICALL 00092 Java_java_lang_Object_getClass(JNIEnv *, jobject); 00093 00094 00095 /*! 00096 * @brief Native definition 00097 * for @c @b java.lang.Object.hashCode() 00098 * 00099 * @verbatim 00100 Class: java_lang_Object 00101 Method: hashCode 00102 Signature: ()I 00103 @endverbatim 00104 * 00105 */ 00106 JNIEXPORT jint JNICALL 00107 Java_java_lang_Object_hashCode(JNIEnv *, jobject); 00108 00109 00110 /*! 00111 * @brief Native definition 00112 * for @c @b java.lang.Object.wait() 00113 * 00114 * @verbatim 00115 Class: java_lang_Object 00116 Method: wait 00117 Signature: ()V 00118 @endverbatim 00119 * 00120 */ 00121 JNIEXPORT void JNICALL 00122 Java_java_lang_Object_wait(JNIEnv *, jobject); 00123 00124 00125 /*! 00126 * @brief Native definition 00127 * for @c @b java.lang.Object.wait(long) 00128 * 00129 * @verbatim 00130 Class: java_lang_Object 00131 Method: wait 00132 Signature: (J)V 00133 @endverbatim 00134 * 00135 */ 00136 JNIEXPORT void JNICALL 00137 Java_java_lang_Object_wait__J(JNIEnv *, jobject, jlong); 00138 00139 00140 #ifdef __cplusplus 00141 } 00142 #endif 00143 00144 #endif /* _included_java_lang_Object_h_ */ 00145 00146 /* EOF */ 00147