version 1.59.4.2, 2007/07/07 01:35:43
|
version 1.60, 2007/03/16 17:16:57
|
|
|
//============================================================================== | //============================================================================== |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
// NOCHKSRC |
|
| |
#include "JMPIProviderManager.h" | #include "JMPIProviderManager.h" |
| |
|
|
*pr._cimom_handle); | *pr._cimom_handle); |
srec->qContext = qContext; | srec->qContext = qContext; |
| |
CIMObjectPath sPath = request->subscriptionInstance.getPath (); |
CIMObjectPath sPath (request->subscriptionInstance.getPath ().getClassName ().getString ()); |
Array<CIMKeyBinding> kb; |
|
| |
// Technically we only need Name and Handler for uniqueness |
sPath.setNameSpace (request->subscriptionInstance.getPath ().getNameSpace ()); |
kb = sPath.getKeyBindings (); |
|
|
|
// Add an entry for every provider. |
|
kb.append (CIMKeyBinding ("Provider", |
|
pr.getName (), |
|
CIMKeyBinding::STRING)); |
|
|
|
sPath.setKeyBindings (kb); |
|
| |
AutoMutex lock (mutexSelxTab); | AutoMutex lock (mutexSelxTab); |
| |
|
|
} | } |
| |
{ | { |
CIMObjectPath sPath = request->subscriptionInstance.getPath (); |
CIMObjectPath sPath (request->subscriptionInstance.getPath ().getClassName ().getString ()); |
Array<CIMKeyBinding> kb; |
|
|
|
// Technically we only need Name and Handler for uniqueness |
|
kb = sPath.getKeyBindings (); |
|
| |
// Add an entry for every provider. |
sPath.setNameSpace (request->subscriptionInstance.getPath ().getNameSpace ()); |
kb.append (CIMKeyBinding ("Provider", |
|
pr.getName (), |
|
CIMKeyBinding::STRING)); |
|
|
|
sPath.setKeyBindings (kb); |
|
| |
String sPathString = sPath.toString (); | String sPathString = sPath.toString (); |
| |
|
|
| |
DDD(PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleDeleteSubscriptionRequest: Removing selxTab "<<sPathString<<PEGASUS_STD(endl)); | DDD(PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleDeleteSubscriptionRequest: Removing selxTab "<<sPathString<<PEGASUS_STD(endl)); |
| |
if (!selxTab.lookup (sPathString, srec)) |
selxTab.lookup (sPathString, srec); |
{ |
|
PEGASUS_ASSERT(0); |
|
} |
|
| |
DDD(PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleDeleteSubscriptionRequest: For selxTab "<<sPathString<<", srec = "<<PEGASUS_STD(hex)<<(long)srec<<PEGASUS_STD(dec)<<", qContext = "<<PEGASUS_STD(hex)<<(long)srec->qContext<<PEGASUS_STD(dec)<<PEGASUS_STD(endl)); | DDD(PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleDeleteSubscriptionRequest: For selxTab "<<sPathString<<", srec = "<<PEGASUS_STD(hex)<<(long)srec<<PEGASUS_STD(dec)<<", qContext = "<<PEGASUS_STD(hex)<<(long)srec->qContext<<PEGASUS_STD(dec)<<PEGASUS_STD(endl)); |
| |