version 1.142, 2008/10/02 11:24:39
|
version 1.143, 2008/10/22 08:11:25
|
|
|
// forward request | // forward request |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.getInstance: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ObjectPathOnStack eRef(objectPath); | CMPI_ObjectPathOnStack eRef(objectPath); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.getInstance: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
(const char **)props.getList()); | (const char **)props.getList()); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.getInstance: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
// forward request | // forward request |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.enumerateInstances: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ObjectPathOnStack eRef(objectPath); | CMPI_ObjectPathOnStack eRef(objectPath); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.enumerateInstances: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
(const char **)props.getList()); | (const char **)props.getList()); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.enumerateInstances: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
request->operationContext.get(ContentLanguageListContainer::NAME)); | request->operationContext.get(ContentLanguageListContainer::NAME)); |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.enumerateInstanceNames: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ObjectPathOnStack eRef(objectPath); | CMPI_ObjectPathOnStack eRef(objectPath); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.enumerateInstanceNames: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
&eRef); | &eRef); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.enumerateInstanceNames: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
// forward request | // forward request |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.createInstance: %s", |
|
(const char*)ph.GetProvider().getName().getCString())); |
|
|
|
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ObjectPathOnStack eRef(objectPath); | CMPI_ObjectPathOnStack eRef(objectPath); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.createInstance: %s", |
|
(const char*)ph.GetProvider().getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
&eInst); | &eInst); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.createInstance: %s", |
|
(const char*)ph.GetProvider().getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
// forward request | // forward request |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.modifyInstance: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ObjectPathOnStack eRef(objectPath); | CMPI_ObjectPathOnStack eRef(objectPath); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.modifyInstance: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
(const char **)props.getList()); | (const char **)props.getList()); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.modifyInstance: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
// forward request | // forward request |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.deleteInstance: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ObjectPathOnStack eRef(objectPath); | CMPI_ObjectPathOnStack eRef(objectPath); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.deleteInstance: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
&eRef); | &eRef); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.deleteInstance: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
// forward request | // forward request |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.execQuery: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
const char **props=NULL; | const char **props=NULL; |
| |
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.execQuery: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
CHARS(query)); | CHARS(query)); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.execQuery: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, | PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
"Calling provider.associators: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"--- CMPIProviderManager::associators < role: > %s%s", | "--- CMPIProviderManager::associators < role: > %s%s", |
(const char*)request->role.getCString(), | (const char*)request->role.getCString(), |
(const char*)request->assocClass.getString().getCString())); | (const char*)request->assocClass.getString().getCString())); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.associators: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
(const char **)props.getList()); | (const char **)props.getList()); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.associators: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, | PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
"Calling provider.associatorNames: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"--- CMPIProviderManager::associatorNames -- role: %s< aCls %s", | "--- CMPIProviderManager::associatorNames -- role: %s< aCls %s", |
(const char*)request->role.getCString(), | (const char*)request->role.getCString(), |
(const char*)request->assocClass.getString().getCString())); | (const char*)request->assocClass.getString().getCString())); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.associatorNames: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
CHARS(resRole)); | CHARS(resRole)); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.associatorNames: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, | PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
"Calling provider.references: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
PEG_TRACE((TRC_PROVIDERMANAGER, Tracer::LEVEL4, |
|
"--- CMPIProviderManager::references -- role:%s< aCls %s", | "--- CMPIProviderManager::references -- role:%s< aCls %s", |
(const char*)request->role.getCString(), | (const char*)request->role.getCString(), |
(const char*)request->resultClass.getString().getCString())); | (const char*)request->resultClass.getString().getCString())); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.references: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
(const char **)props.getList()); | (const char **)props.getList()); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.references: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, | PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
"Calling provider.referenceNames: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"--- CMPIProviderManager::referenceNames -- role: %s< aCls %s", | "--- CMPIProviderManager::referenceNames -- role: %s< aCls %s", |
(const char*)request->role.getCString(), | (const char*)request->role.getCString(), |
(const char*)request->resultClass.getString().getCString())); | (const char*)request->resultClass.getString().getCString())); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.referenceNames: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
CHARS(rRole)); | CHARS(rRole)); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.referenceNames: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
// forward request | // forward request |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.invokeMethod: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ObjectPathOnStack eRef(objectPath); | CMPI_ObjectPathOnStack eRef(objectPath); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.invokeMethod: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
&eArgsOut); | &eArgsOut); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.invokeMethod: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
| |
CMPI_ThreadContext thr(pr.getBroker(),&eCtx); | CMPI_ThreadContext thr(pr.getBroker(),&eCtx); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.createSubscriptionRequest: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
for (Uint32 i = 0, n = request->classNames.size(); i < n; i++) | for (Uint32 i = 0, n = request->classNames.size(); i < n; i++) |
{ | { |
CIMObjectPath className( | CIMObjectPath className( |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.createSubscriptionRequest: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
} | } |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.createSubscriptionRequest: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ThreadContext thr(pr.getBroker(),&eCtx); | CMPI_ThreadContext thr(pr.getBroker(),&eCtx); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.deleteSubscriptionRequest: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
// includeQualifiers and includeClassOrigin not of interest for | // includeQualifiers and includeClassOrigin not of interest for |
// this type of request | // this type of request |
_setupCMPIContexts( | _setupCMPIContexts( |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.deleteSubscriptionRequest: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
} | } |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.deleteSubscriptionRequest: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
if (srec->count<=0) | if (srec->count<=0) |
{ | { |
delete qContext; | delete qContext; |
|
|
request->operationContext.insert( | request->operationContext.insert( |
NormalizerContextContainer(tmpNormalizerContext)); | NormalizerContextContainer(tmpNormalizerContext)); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.getInstance via getProperty: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ObjectPathOnStack eRef(objectPath); | CMPI_ObjectPathOnStack eRef(objectPath); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.getInstance via getProperty: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
(const char **)props.getList()); | (const char **)props.getList()); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.getInstance via getProperty: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
// forward request | // forward request |
CMPIProvider & pr=ph.GetProvider(); | CMPIProvider & pr=ph.GetProvider(); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
|
"Calling provider.modifyInstance via setProperty: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
|
CMPIStatus rc={CMPI_RC_OK,NULL}; | CMPIStatus rc={CMPI_RC_OK,NULL}; |
CMPI_ContextOnStack eCtx(context); | CMPI_ContextOnStack eCtx(context); |
CMPI_ObjectPathOnStack eRef(objectPath); | CMPI_ObjectPathOnStack eRef(objectPath); |
|
|
| |
AutoPThreadSecurity threadLevelSecurity(request->operationContext); | AutoPThreadSecurity threadLevelSecurity(request->operationContext); |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Calling provider.modifyInstance via setProperty: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
{ | { |
StatProviderTimeMeasurement providerTime(response); | StatProviderTimeMeasurement providerTime(response); |
| |
|
|
(const char **)props.getList()); | (const char **)props.getList()); |
} | } |
| |
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.modifyInstance via setProperty: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
// Need to save ContentLanguage value into operation context of response | // Need to save ContentLanguage value into operation context of response |
// Do this before checking rc from provider to throw exception in case | // Do this before checking rc from provider to throw exception in case |
// rc.msg is also localized. | // rc.msg is also localized. |
|
|
(CMPIValue*)(const char*)remoteInfo,CMPI_chars); | (CMPIValue*)(const char*)remoteInfo,CMPI_chars); |
} | } |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
"Calling provider.enableIndications: %s", | "Calling provider.enableIndications: %s", |
(const char*)pr.getName().getCString())); | (const char*)pr.getName().getCString())); |
| |
|
|
// there really isn't a user to which the problem should be | // there really isn't a user to which the problem should be |
// reported. | // reported. |
pr.getIndMI()->ft->enableIndications(pr.getIndMI(),&eCtx); | pr.getIndMI()->ft->enableIndications(pr.getIndMI(),&eCtx); |
|
|
|
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
|
"Returning from provider.enableIndications: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
} | } |
else | else |
{ | { |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
PEG_TRACE(( |
|
TRC_PROVIDERMANAGER, |
|
Tracer::LEVEL2, |
"Not calling provider.enableIndications: %s routine as it is " | "Not calling provider.enableIndications: %s routine as it is " |
"an earlier version that does not support this function", | "an earlier version that does not support this function", |
(const char*)pr.getName().getCString())); | (const char*)pr.getName().getCString())); |
|
|
} | } |
CMPI_ThreadContext thr(pr.getBroker(),&eCtx); | CMPI_ThreadContext thr(pr.getBroker(),&eCtx); |
| |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL2, |
"Calling provider.disableIndications: %s", | "Calling provider.disableIndications: %s", |
(const char*)pr.getName().getCString())); | (const char*)pr.getName().getCString())); |
| |
|
|
&eCtx); | &eCtx); |
| |
pr.unprotect(); | pr.unprotect(); |
|
|
|
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL2, |
|
"Returning from provider.disableIndications: %s", |
|
(const char*)pr.getName().getCString())); |
|
|
} | } |
else | else |
{ | { |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL4, |
PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL2, |
"Not calling provider.disableIndications: %s routine as it is " | "Not calling provider.disableIndications: %s routine as it is " |
"an earlier version that does not support this function", | "an earlier version that does not support this function", |
(const char*)pr.getName().getCString())); | (const char*)pr.getName().getCString())); |