version 1.39, 2007/09/14 18:29:36
|
version 1.39.2.3, 2008/07/02 11:29:52
|
|
|
| |
#include <Pegasus/ProviderManager2/CMPI/CMPILocalProviderManager.h> | #include <Pegasus/ProviderManager2/CMPI/CMPILocalProviderManager.h> |
#include <Pegasus/ProviderManager2/CMPI/Linkage.h> | #include <Pegasus/ProviderManager2/CMPI/Linkage.h> |
|
#include <Pegasus/ProviderManager2/CMPI/CMPI_ContextArgs.h> |
| |
#include <Pegasus/Provider/CIMOMHandleQueryContext.h> | #include <Pegasus/Provider/CIMOMHandleQueryContext.h> |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
| |
Mode mode; | Mode mode; |
| |
|
void _setupCMPIContexts( |
|
CMPI_ContextOnStack * eCtx, |
|
OperationContext * context, |
|
ProviderIdContainer * pidc, |
|
const String & nameSpace, |
|
Boolean remote, |
|
Boolean includeQualifiers = false, |
|
Boolean includeClassOrigin = false, |
|
Boolean setFlags = false); |
|
|
Message * handleUnsupportedRequest(const Message * message); | Message * handleUnsupportedRequest(const Message * message); |
| |
Message * handleGetInstanceRequest(const Message * message); | Message * handleGetInstanceRequest(const Message * message); |
|
|
void _callEnableIndications( | void _callEnableIndications( |
CIMInstance & req_provider, | CIMInstance & req_provider, |
PEGASUS_INDICATION_CALLBACK_T _indicationCallback, | PEGASUS_INDICATION_CALLBACK_T _indicationCallback, |
CMPIProvider::OpProviderHolder & ph, |
OpProviderHolder & ph, |
const char *remoteInfo); | const char *remoteInfo); |
| |
/** | /** |
|
|
@param remoteInfo Remote Information | @param remoteInfo Remote Information |
*/ | */ |
void _callDisableIndications( | void _callDisableIndications( |
CMPIProvider::OpProviderHolder & ph, |
OpProviderHolder & ph, |
const char *remoteInfo); | const char *remoteInfo); |
|
|
/* |
|
This method gets class definition for CachedClassDefinitionContainer |
|
using dedicated CIMOMHandle. This is required to service concurrent |
|
requets that are coming to MI. This avoids "Recursive Use of |
|
CIMOMHandle" exception. On ZOS this method uses new CIMOMHandle for |
|
each getClass request coming from CMPIProviderManager. |
|
*/ |
|
CIMClass _getClass(CIMNamespaceName &nameSpace, CIMName &className); |
|
#ifndef PEGASUS_OS_ZOS |
|
private: |
|
CIMOMHandle _handle; |
|
Mutex _classMutex; |
|
#endif |
|
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |