version 1.38.2.1, 2006/02/10 16:12:03
|
version 1.38.2.2, 2006/03/07 18:45:59
|
|
|
PEGASUS_ASSERT(response != 0); \ | PEGASUS_ASSERT(response != 0); \ |
response->setKey(request->getKey()); \ | response->setKey(request->getKey()); \ |
response->setHttpMethod(request->getHttpMethod()); \ | response->setHttpMethod(request->getHttpMethod()); \ |
type1##ResponseHandler handler(request, response); |
type1##ResponseHandler handler(request, response, _responseChunkCallback); |
| |
#define VOIDINTRO ); | #define VOIDINTRO ); |
#define NOVOIDINTRO(type) ,type); | #define NOVOIDINTRO(type) ,type); |
|
|
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->instanceName.getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->instanceName.getClassName(), | request->instanceName.getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->instanceName.getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleGetInstanceRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->instanceName.getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->instanceName.getClassName(), | request->instanceName.getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->instanceName.getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleGetInstanceRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->instanceName.getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->instanceName.getClassName(), | request->instanceName.getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->instanceName.getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleGetInstancesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->className, | request->className, |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleEnumerateInstancesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); | CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); |
| |
/* Fix for 4237 */ | /* Fix for 4237 */ |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
ciRet->getClassName(), | ciRet->getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleEnumerateInstancesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
const CIMObjectPath& op = ciRet->getPath(); | const CIMObjectPath& op = ciRet->getPath(); |
CIMObjectPath iop = ciRet->buildPath(cls); | CIMObjectPath iop = ciRet->buildPath(cls); |
| |
|
|
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass (context, |
request->nameSpace, | request->nameSpace, |
request->className, | request->className, |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleEnumerateInstancesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); | CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); |
| |
/* Fix for 4237 */ | /* Fix for 4237 */ |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
ciRet->getClassName(), | ciRet->getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleEnumerateInstancesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
const CIMObjectPath& op = ciRet->getPath(); | const CIMObjectPath& op = ciRet->getPath(); |
CIMObjectPath iop = ciRet->buildPath(cls); | CIMObjectPath iop = ciRet->buildPath(cls); |
| |
|
|
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->className, | request->className, |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleEnumerateInstancesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); | CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); |
| |
/* Fix for 4237 */ | /* Fix for 4237 */ |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
ciRet->getClassName(), | ciRet->getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleEnumerateInstancesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
const CIMObjectPath& op = ciRet->getPath(); | const CIMObjectPath& op = ciRet->getPath(); |
CIMObjectPath iop = ciRet->buildPath(cls); | CIMObjectPath iop = ciRet->buildPath(cls); |
| |
|
|
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->className, | request->className, |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleEnumerateInstanceNamesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->className, | request->className, |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleEnumerateInstanceNamesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->className, | request->className, |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleEnumerateInstanceNamesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
jstring jqueryLanguage = env->NewStringUTF(request->queryLanguage.getCString()); | jstring jqueryLanguage = env->NewStringUTF(request->queryLanguage.getCString()); |
jstring jquery = env->NewStringUTF(request->query.getCString()); | jstring jquery = env->NewStringUTF(request->query.getCString()); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->className, | request->className, |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleExecQueryRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
jstring jqueryLanguage = env->NewStringUTF(request->queryLanguage.getCString()); | jstring jqueryLanguage = env->NewStringUTF(request->queryLanguage.getCString()); |
jstring jquery = env->NewStringUTF(request->query.getCString()); | jstring jquery = env->NewStringUTF(request->query.getCString()); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->className, | request->className, |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleExecQueryRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
jstring jqueryLanguage = env->NewStringUTF(request->queryLanguage.getCString()); | jstring jqueryLanguage = env->NewStringUTF(request->queryLanguage.getCString()); |
jstring jquery = env->NewStringUTF(request->query.getCString()); | jstring jquery = env->NewStringUTF(request->query.getCString()); |
| |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
request->className, | request->className, |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<request->className<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleExecQueryRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
CIMClass *pcls = new CIMClass (cls); | CIMClass *pcls = new CIMClass (cls); |
| |
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
|
|
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); | CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
ciRet->getClassName(), | ciRet->getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleAssociatorsRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
const CIMObjectPath& op = ciRet->getPath(); | const CIMObjectPath& op = ciRet->getPath(); |
CIMObjectPath iop = ciRet->buildPath(cls); | CIMObjectPath iop = ciRet->buildPath(cls); |
| |
|
|
| |
jint jciRetRef = env->CallIntMethod(jciRet,JMPIjvm::jv.CIMInstanceCInst); | jint jciRetRef = env->CallIntMethod(jciRet,JMPIjvm::jv.CIMInstanceCInst); |
CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); | CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
ciRet->getClassName(), | ciRet->getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleAssociatorsRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
const CIMObjectPath& op = ciRet->getPath(); | const CIMObjectPath& op = ciRet->getPath(); |
CIMObjectPath iop = ciRet->buildPath(cls); | CIMObjectPath iop = ciRet->buildPath(cls); |
| |
|
|
JMPIjvm::checkException(env); | JMPIjvm::checkException(env); |
| |
CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); | CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
ciRet->getClassName(), | ciRet->getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleReferencesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
const CIMObjectPath& op = ciRet->getPath(); | const CIMObjectPath& op = ciRet->getPath(); |
CIMObjectPath iop = ciRet->buildPath(cls); | CIMObjectPath iop = ciRet->buildPath(cls); |
| |
|
|
| |
jint jciRetRef = env->CallIntMethod(jciRet,JMPIjvm::jv.CIMInstanceCInst); | jint jciRetRef = env->CallIntMethod(jciRet,JMPIjvm::jv.CIMInstanceCInst); |
CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); | CIMInstance *ciRet = DEBUG_ConvertJavaToC (jint, CIMInstance*, jciRetRef); |
CIMClass cls = pr._cimom_handle->getClass(context, |
CIMClass cls; |
|
|
|
try |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"enter: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
AutoMutex lock (pr._cimomMutex); |
|
|
|
cls = pr._cimom_handle->getClass(context, |
request->nameSpace, | request->nameSpace, |
ciRet->getClassName(), | ciRet->getClassName(), |
false, | false, |
true, | true, |
true, | true, |
CIMPropertyList()); | CIMPropertyList()); |
|
DDD (PEGASUS_STD(cout)<<"exit: cimom_handle->getClass("<<__LINE__<<") "<<ciRet->getClassName()<<PEGASUS_STD(endl)); |
|
} |
|
catch (CIMException e) |
|
{ |
|
DDD (PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleReferencesRequest: Error: Caught CIMExcetion during cimom_handle->getClass("<<__LINE__<<") "<<PEGASUS_STD(endl)); |
|
throw; |
|
} |
|
|
const CIMObjectPath& op = ciRet->getPath(); | const CIMObjectPath& op = ciRet->getPath(); |
CIMObjectPath iop = ciRet->buildPath(cls); | CIMObjectPath iop = ciRet->buildPath(cls); |
| |
|
|
context->insert(request->operationContext.get(AcceptLanguageListContainer::NAME)); | context->insert(request->operationContext.get(AcceptLanguageListContainer::NAME)); |
context->insert(request->operationContext.get(ContentLanguageListContainer::NAME)); | context->insert(request->operationContext.get(ContentLanguageListContainer::NAME)); |
context->insert(request->operationContext.get(SubscriptionInstanceContainer::NAME)); | context->insert(request->operationContext.get(SubscriptionInstanceContainer::NAME)); |
context->insert(request->operationContext.get(SubscriptionLanguageListContainer::NAME)); |
|
context->insert(request->operationContext.get(SubscriptionFilterConditionContainer::NAME)); | context->insert(request->operationContext.get(SubscriptionFilterConditionContainer::NAME)); |
| |
CIMObjectPath subscriptionName = request->subscriptionInstance.getPath(); | CIMObjectPath subscriptionName = request->subscriptionInstance.getPath(); |
|
|
prec->enabled = true; | prec->enabled = true; |
CIMRequestMessage * request = 0; | CIMRequestMessage * request = 0; |
CIMResponseMessage * response = 0; | CIMResponseMessage * response = 0; |
prec->handler = new EnableIndicationsResponseHandler |
prec->handler = new EnableIndicationsResponseHandler( |
(request, response, req_provider, _indicationCallback); |
request, |
|
response, |
|
req_provider, |
|
_indicationCallback, |
|
_responseChunkCallback); |
} | } |
} | } |
| |
|
|
context.insert(request->operationContext.get(AcceptLanguageListContainer::NAME)); | context.insert(request->operationContext.get(AcceptLanguageListContainer::NAME)); |
context.insert(request->operationContext.get(ContentLanguageListContainer::NAME)); | context.insert(request->operationContext.get(ContentLanguageListContainer::NAME)); |
context.insert(request->operationContext.get(SubscriptionInstanceContainer::NAME)); | context.insert(request->operationContext.get(SubscriptionInstanceContainer::NAME)); |
context.insert(request->operationContext.get(SubscriptionLanguageListContainer::NAME)); |
|
| |
CIMObjectPath subscriptionName = request->subscriptionInstance.getPath(); | CIMObjectPath subscriptionName = request->subscriptionInstance.getPath(); |
| |
|
|
prec->enabled = true; | prec->enabled = true; |
CIMRequestMessage * request = 0; | CIMRequestMessage * request = 0; |
CIMResponseMessage * response = 0; | CIMResponseMessage * response = 0; |
prec->handler = new EnableIndicationsResponseHandler |
prec->handler = new EnableIndicationsResponseHandler( |
(request, response, provider, _indicationCallback); |
request, |
|
response, |
|
provider, |
|
_indicationCallback, |
|
_responseChunkCallback); |
} | } |
} | } |
catch (CIMException & e) | catch (CIMException & e) |