version 1.17.2.2, 2006/03/07 18:45:59
|
version 1.23, 2006/08/31 14:33:09
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Adrian Schuur, schuur@de.ibm.com |
|
// |
|
// Modified By: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
#ifndef _Provider_JMPIImpl_h | #ifndef _Provider_JMPIImpl_h |
#define _Provider_JMPIImpl_h | #define _Provider_JMPIImpl_h |
| |
|
|
} \ | } \ |
catch(...) { \ | catch(...) { \ |
JMPIjvm::cacheIDs(jEnv); \ | JMPIjvm::cacheIDs(jEnv); \ |
jobject ev=jEnv->NewObject(JMPIjvm::jv.CIMExceptionClassRef,JMPIjvm::jv.CIMExceptionNewISt,(jint)1,"Exception: Unknown"); \ |
jobject ev=jEnv->NewObject(JMPIjvm::jv.CIMExceptionClassRef,JMPIjvm::jv.CIMExceptionNewISt,(jint)1,jEnv->NewStringUTF("Exception: Unknown")); \ |
jEnv->Throw((jthrowable)ev); \ | jEnv->Throw((jthrowable)ev); \ |
} | } |
| |
|
|
#define CIMInstanceExceptionClassRef classRefs[30] | #define CIMInstanceExceptionClassRef classRefs[30] |
#define CIMObjectClassRef classRefs[31] | #define CIMObjectClassRef classRefs[31] |
#define CharacterClassRef classRefs[32] | #define CharacterClassRef classRefs[32] |
|
#define OperationContextClassRef classRefs[33] |
|
#define ClassClassRef classRefs[34] |
|
#define JarClassLoaderRef classRefs[35] |
| |
#define BigIntegerValueOf staticMethodIDs[0] | #define BigIntegerValueOf staticMethodIDs[0] |
#define JarClassLoaderLoad staticMethodIDs[1] | #define JarClassLoaderLoad staticMethodIDs[1] |
|
|
#define ThrowableGetMessage instMethodIDs[25] | #define ThrowableGetMessage instMethodIDs[25] |
#define CIMObjectNewIZ instMethodIDs[46] | #define CIMObjectNewIZ instMethodIDs[46] |
#define CharacterNewC instMethodIDs[47] | #define CharacterNewC instMethodIDs[47] |
|
#define OperationContextNewI instMethodIDs[48] |
|
#define OperationContextUnassociate instMethodIDs[49] |
|
#define ClassGetInterfaces instMethodIDs[50] |
|
#define ClassGetName instMethodIDs[51] |
|
#define UnsignedInt64NewStr instMethodIDs[52] |
| |
//extern "C" JNIEnv* attachThread(JvmVector**); | //extern "C" JNIEnv* attachThread(JvmVector**); |
//extern "C" void detachThread(); | //extern "C" void detachThread(); |