version 1.10, 2004/10/17 20:40:04
|
version 1.14, 2005/03/17 01:56:13
|
|
|
//%2004//////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; | // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
| |
#include "JMPIImpl.h" | #include "JMPIImpl.h" |
| |
|
#if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC) |
|
#include <Pegasus/Common/DynamicLibrary.h> |
|
#else |
#include <dlfcn.h> | #include <dlfcn.h> |
|
#endif |
#include <iostream> | #include <iostream> |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
|
|
/*32*/ { 19,"cInst", "()I" }, | /*32*/ { 19,"cInst", "()I" }, |
/*33*/ { 13,"<init>", "(ILjava/lang/String;)V" }, | /*33*/ { 13,"<init>", "(ILjava/lang/String;)V" }, |
/*34*/ { 13,"getCode", "()I" }, | /*34*/ { 13,"getCode", "()I" }, |
/*35*/ { 12,"<init>", "(I)V" }, |
/*35*/ { 24,"<init>", "(I)V" }, |
/*36*/ { 25,"<init>", "(I)V" }, | /*36*/ { 25,"<init>", "(I)V" }, |
/*37*/ { 26,"<init>", "(I)V" }, | /*37*/ { 26,"<init>", "(I)V" }, |
/*38*/ { 28,"<init>", "(I)V" }, | /*38*/ { 28,"<init>", "(I)V" }, |
|
|
refarr.append(ref); | refarr.append(ref); |
} | } |
break; | break; |
|
case CIMTYPE_OBJECT: { |
|
CIMObject obj; |
|
cvin->get(obj); |
|
Array<CIMObject> objarr; |
|
cv.get(objarr); |
|
objarr.append(obj); |
|
} |
|
break; |
default: | default: |
throwCIMException(jEnv,"+++ unsupported type "); | throwCIMException(jEnv,"+++ unsupported type "); |
} | } |
|
|
} | } |
// throwCIMException(jEnv,"+++ DateTime not yet supported"); | // throwCIMException(jEnv,"+++ DateTime not yet supported"); |
break; | break; |
|
case CIMTYPE_OBJECT: |
|
throwCIMException(jEnv,"+++ Object not yet supported"); |
|
break; |
default: | default: |
throwCIMException(jEnv,"+++ unsupported type: "); | throwCIMException(jEnv,"+++ unsupported type: "); |
} | } |
|
|
case CIMTYPE_DATETIME: | case CIMTYPE_DATETIME: |
throwCIMException(jEnv,"+++ DateTime not yet supported"); | throwCIMException(jEnv,"+++ DateTime not yet supported"); |
break; | break; |
|
case CIMTYPE_OBJECT: |
|
throwCIMException(jEnv,"+++ Object not yet supported"); |
|
break; |
default: | default: |
throwCIMException(jEnv,"+++ unsupported type: "); | throwCIMException(jEnv,"+++ unsupported type: "); |
} | } |