version 1.5, 2006/09/20 19:54:28
|
version 1.5.6.2, 2006/10/19 14:42:12
|
|
|
createDefaultProviderManagerCallback); | createDefaultProviderManagerCallback); |
} | } |
#endif | #endif |
|
#ifdef PEGASUS_ENABLE_REMOTE_CMPI |
|
if (!_basicProviderManagerRouter) |
|
{ |
|
_basicProviderManagerRouter = new BasicProviderManagerRouter( |
|
indicationCallback, responseChunkCallback, |
|
createDefaultProviderManagerCallback); |
|
} |
|
#endif |
} | } |
| |
ProviderManagerService::~ProviderManagerService(void) | ProviderManagerService::~ProviderManagerService(void) |
|
|
providerModule.getProperty(pos).getValue().get(userContext); | providerModule.getProperty(pos).getValue().get(userContext); |
} | } |
| |
|
// Load proxy-provider into CIMServer, in case of remote namespace |
|
// requests. (ie through _basicProviderManagerRouter). -V 3913 |
|
#ifdef PEGASUS_ENABLE_REMOTE_CMPI |
|
if ((dynamic_cast<CIMOperationRequestMessage*>(request) != 0) || |
|
(request->getType() == CIM_EXPORT_INDICATION_REQUEST_MESSAGE) || |
|
(request->getType() == CIM_INITIALIZE_PROVIDER_REQUEST_MESSAGE)) |
|
{ |
|
ProviderIdContainer pidc1 = |
|
request->operationContext.get(ProviderIdContainer::NAME); |
|
if (pidc1.isRemoteNameSpace() ) |
|
{ |
|
if (_basicProviderManagerRouter) |
|
{ |
|
Tracer::trace ( TRC_PROVIDERMANAGER, Tracer::LEVEL4, |
|
"Processing Remote NameSpace request "); |
|
response = _basicProviderManagerRouter->processMessage (request); |
|
return response; |
|
} |
|
else |
|
{ |
|
throw PEGASUS_CIM_EXCEPTION_L( CIM_ERR_FAILED, |
|
"Basic Provider Manager Router is not" |
|
" Initialized for Remote CMPI."); |
|
} |
|
} |
|
} |
|
#endif |
// Forward the request to the appropriate ProviderManagerRouter, based | // Forward the request to the appropriate ProviderManagerRouter, based |
// on the CIM Server configuration and the UserContext setting. | // on the CIM Server configuration and the UserContext setting. |
| |