(file) Return to JMPIImpl.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / JMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/JMPI/JMPIImpl.h between version 1.19.2.2 and 1.27

version 1.19.2.2, 2006/06/23 17:44:59 version 1.27, 2006/11/02 16:58:29
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // 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
  
   #include <Pegasus/Common/Config.h>
   
 #include <jni.h> #include <jni.h>
   
   #ifdef PEGASUS_PLATFORM_LINUX_GENERIC_GNU
   #if defined (__GNUC__) && GCC_VERSION >= 40000
   // If gcc is compiled with -fvisibility=hidden then JMPI is broken.  This is because
   // the JNI h file defines JNIEXPORT as empty since the default is visible.
   #undef  JNIEXPORT
   #define JNIEXPORT __attribute__ ((visibility("default")))
   #endif
   #endif
   
 #include <stdio.h> #include <stdio.h>
 #include <stdlib.h> #include <stdlib.h>
 #include <string.h> #include <string.h>
  
 #include <Pegasus/Common/Config.h>  
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
 #include <Pegasus/Common/System.h> #include <Pegasus/Common/System.h>
 #include <Pegasus/Common/HashTable.h> #include <Pegasus/Common/HashTable.h>
 #include <Pegasus/Common/CIMType.h> #include <Pegasus/Common/CIMType.h>
 #include <Pegasus/Common/Mutex.h> #include <Pegasus/Common/Mutex.h>
   #include <Pegasus/ProviderManager2/JMPI/Linkage.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 89 
Line 96 
    const METHOD_STRUCT *instanceMethodNames;    const METHOD_STRUCT *instanceMethodNames;
 } JvmVector; } JvmVector;
  
 class JMPIjvm {  class PEGASUS_JMPIPM_LINKAGE JMPIjvm {
  public:  public:
    static int trace;    static int trace;
    static JavaVM *jvm;    static JavaVM *jvm;
Line 386 
Line 393 
 #define UnsignedInt16NewI            instMethodIDs[9] #define UnsignedInt16NewI            instMethodIDs[9]
 #define UnsignedInt32NewJ            instMethodIDs[10] #define UnsignedInt32NewJ            instMethodIDs[10]
 #define UnsignedInt64NewBi           instMethodIDs[11] #define UnsignedInt64NewBi           instMethodIDs[11]
 #define CIMObjectPathNewI            instMethodIDs[12]  #define CIMObjectPathNewJ            instMethodIDs[12]
 #define CIMObjectPathCInst           instMethodIDs[21] #define CIMObjectPathCInst           instMethodIDs[21]
 #define CIMExceptionNewSt            instMethodIDs[13] #define CIMExceptionNewSt            instMethodIDs[13]
 #define CIMExceptionNewISt           instMethodIDs[32] #define CIMExceptionNewISt           instMethodIDs[32]
Line 397 
Line 404 
 #define CIMExceptionNewStObObOb      instMethodIDs[44] #define CIMExceptionNewStObObOb      instMethodIDs[44]
 #define CIMExceptionGetCode          instMethodIDs[33] #define CIMExceptionGetCode          instMethodIDs[33]
 #define CIMExceptionGetID            instMethodIDs[26] #define CIMExceptionGetID            instMethodIDs[26]
 #define CIMPropertyNewI              instMethodIDs[14]  #define CIMPropertyNewJ              instMethodIDs[14]
 #define CIMPropertyCInst             instMethodIDs[28] #define CIMPropertyCInst             instMethodIDs[28]
 #define CIMOMHandleNewISt            instMethodIDs[17]  #define CIMOMHandleNewJSt            instMethodIDs[17]
 #define CIMOMHandleGetClass          instMethodIDs[29] #define CIMOMHandleGetClass          instMethodIDs[29]
 #define CIMClassNewI                 instMethodIDs[19]  #define CIMClassNewJ                 instMethodIDs[19]
 #define CIMClassCInst                instMethodIDs[23] #define CIMClassCInst                instMethodIDs[23]
 #define CIMInstanceNewI              instMethodIDs[20]  #define CIMInstanceNewJ              instMethodIDs[20]
 #define CIMInstanceCInst             instMethodIDs[22] #define CIMInstanceCInst             instMethodIDs[22]
 #define CIMValueNewI                 instMethodIDs[45]  #define CIMValueNewJ                 instMethodIDs[45]
 #define CIMValueCInst                instMethodIDs[31] #define CIMValueCInst                instMethodIDs[31]
 #define CIMDateTimeNewI              instMethodIDs[34]  #define CIMDateTimeNewJ              instMethodIDs[34]
 #define SelectExpNewI                instMethodIDs[35]  #define SelectExpNewJ                instMethodIDs[35]
 #define CIMQualifierNewI             instMethodIDs[36]  #define CIMQualifierNewJ             instMethodIDs[36]
 #define CIMFlavorNewI                instMethodIDs[37] #define CIMFlavorNewI                instMethodIDs[37]
 #define CIMFlavorGetFlavor           instMethodIDs[38] #define CIMFlavorGetFlavor           instMethodIDs[38]
 #define CIMArgumentNewI              instMethodIDs[40]  #define CIMArgumentNewJ              instMethodIDs[40]
 #define CIMArgumentCInst             instMethodIDs[39] #define CIMArgumentCInst             instMethodIDs[39]
 #define ObjectToString               instMethodIDs[24] #define ObjectToString               instMethodIDs[24]
 #define ThrowableGetMessage          instMethodIDs[25] #define ThrowableGetMessage          instMethodIDs[25]
 #define CIMObjectNewIZ               instMethodIDs[46]  #define CIMObjectNewJZ               instMethodIDs[46]
 #define CharacterNewC                instMethodIDs[47] #define CharacterNewC                instMethodIDs[47]
 #define OperationContextNewI         instMethodIDs[48]  #define OperationContextNewJ         instMethodIDs[48]
 #define OperationContextUnassociate  instMethodIDs[49] #define OperationContextUnassociate  instMethodIDs[49]
 #define ClassGetInterfaces           instMethodIDs[50] #define ClassGetInterfaces           instMethodIDs[50]
 #define ClassGetName                 instMethodIDs[51] #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();


Legend:
Removed from v.1.19.2.2  
changed lines
  Added in v.1.27

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2