(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.3 and 1.6

version 1.3, 2004/06/28 16:56:08 version 1.6, 2004/09/02 18:30:55
Line 84 
Line 84 
    static JNIEnv* attachThread(JvmVector **jvp);    static JNIEnv* attachThread(JvmVector **jvp);
    static void detachThread();    static void detachThread();
    static jobject getProvider(JNIEnv *env, const char *cn, jclass *cls) ;    static jobject getProvider(JNIEnv *env, const char *cn, jclass *cls) ;
    static jobject getProvider(JNIEnv *env, String jar, String cls, const char *cn, jclass *cls) ;     static jobject getProvider(JNIEnv *env, String jar, String cln, const char *cn, jclass *cls) ;
    static void checkException(JNIEnv *env);    static void checkException(JNIEnv *env);
    static jstring NewPlatformString(JNIEnv *env,char *s);    static jstring NewPlatformString(JNIEnv *env,char *s);
    static jobjectArray NewPlatformStringArray(JNIEnv *env,char **strv, int strc);    static jobjectArray NewPlatformStringArray(JNIEnv *env,char **strv, int strc);
Line 111 
Line 111 
 }; };
  
 static int pTypeToJType[]= static int pTypeToJType[]=
  /* CIMTYPE_BOOLEAN,   public static final int BOOLEAN  = 10;   /* CIMTYPE_BOOLEAN,   public static final int BOOLEAN  = 10; 0
     CIMTYPE_UINT8,     public static final int UINT8    = 1;      CIMTYPE_UINT8,     public static final int UINT8    = 1;  1
     CIMTYPE_SINT8,     public static final int SINT8    = 2;      CIMTYPE_SINT8,     public static final int SINT8    = 2;  2
     CIMTYPE_UINT16,    public static final int UINT16   = 3;      CIMTYPE_UINT16,    public static final int UINT16   = 3;  3
     CIMTYPE_SINT16,    public static final int SINT16   = 4;      CIMTYPE_SINT16,    public static final int SINT16   = 4;  4
     CIMTYPE_UINT32,    public static final int UINT32   = 5;      CIMTYPE_UINT32,    public static final int UINT32   = 5;  5
     CIMTYPE_SINT32,    public static final int SINT32   = 6;      CIMTYPE_SINT32,    public static final int SINT32   = 6;  6
     CIMTYPE_UINT64,    public static final int UINT64   = 7;      CIMTYPE_UINT64,    public static final int UINT64   = 7;  7
     CIMTYPE_SINT64,    public static final int SINT64   = 8;      CIMTYPE_SINT64,    public static final int SINT64   = 8;  8
     CIMTYPE_REAL32,    public static final int REAL32   = 11;      CIMTYPE_REAL32,    public static final int REAL32   = 11; 9
     CIMTYPE_REAL64,    public static final int REAL64   = 12;      CIMTYPE_REAL64,    public static final int REAL64   = 12; 10
     CIMTYPE_CHAR16,    public static final int CHAR16   = 14;      CIMTYPE_CHAR16,    public static final int CHAR16   = 14; 11
     CIMTYPE_STRING,    public static final int STRING   = 9;      CIMTYPE_STRING,    public static final int STRING   = 9;  12
     CIMTYPE_DATETIME,  public static final int DATETIME = 13;      CIMTYPE_DATETIME,  public static final int DATETIME = 13; 12
     CIMTYPE_REFERENCE  public static final int REFERENCE = 0x32+1;      CIMTYPE_REFERENCE  public static final int REFERENCE = 0x32+1; 14
 */ */
    {10,1,2,3,4,5,6,7,8,11,12,14,9,13,0x32+1};    {10,1,2,3,4,5,6,7,8,11,12,14,9,13,0x32+1};
   //   0  1  2  3  4  5  6  7  8  9 10 11 12 13 14
   
   static int jTypeToPType[]=
      {0, 1, 2, 3, 4, 5, 6, 7, 8,12, 0, 9,10,12};
   //  0  1  2  3  4  5  6  7  8  9 10 11 12 13
  
    static char *jTypeToChars[]= {    static char *jTypeToChars[]= {
         NULL,         NULL,
Line 181 
Line 186 
 #define CIMValueClassRef        classRefs[19] #define CIMValueClassRef        classRefs[19]
 #define CIMObjectClassRef       classRefs[20] #define CIMObjectClassRef       classRefs[20]
 #define ThrowableClassRef       classRefs[21] #define ThrowableClassRef       classRefs[21]
   #define StringClassRef          classRefs[22]
 #define SelectExpClassRef       classRefs[25] #define SelectExpClassRef       classRefs[25]
   #define CIMArgumentClassRef     classRefs[29]
  
 #define VectorNew               instMethodIDs[0] #define VectorNew               instMethodIDs[0]
 #define VectorAddElement        instMethodIDs[15] #define VectorAddElement        instMethodIDs[15]
Line 203 
Line 210 
 #define CIMPropertyNewI         instMethodIDs[14] #define CIMPropertyNewI         instMethodIDs[14]
 #define CIMValueCInst           instMethodIDs[32] #define CIMValueCInst           instMethodIDs[32]
 #define SelectExpNewI           instMethodIDs[35] #define SelectExpNewI           instMethodIDs[35]
   #define ArgumentCInst           instMethodIDs[39]
   #define CIMArgumentNewI         instMethodIDs[40]
  
 //extern "C" JNIEnv* attachThread(JvmVector**); //extern "C" JNIEnv* attachThread(JvmVector**);
 //extern "C" void detachThread(); //extern "C" void detachThread();


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2