version 1.63, 2009/03/23 07:44:25
|
version 1.63.2.4, 2009/11/18 14:00:35
|
|
|
#include <Pegasus/ProviderManager2/CMPI/CMPIProvider.h> | #include <Pegasus/ProviderManager2/CMPI/CMPIProvider.h> |
#include <Pegasus/ProviderManager2/CMPI/CMPIProviderModule.h> | #include <Pegasus/ProviderManager2/CMPI/CMPIProviderModule.h> |
#include <Pegasus/ProviderManager2/CMPI/CMPILocalProviderManager.h> | #include <Pegasus/ProviderManager2/CMPI/CMPILocalProviderManager.h> |
|
#include <Pegasus/ProviderManager2/CMPI/CMPI_ThreadContext.h> |
| |
PEGASUS_USING_STD; | PEGASUS_USING_STD; |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
// until the provider has had a chance to initialize | // until the provider has had a chance to initialize |
CMPIProvider::CMPIProvider( | CMPIProvider::CMPIProvider( |
const String & name, | const String & name, |
|
const String & moduleName, |
CMPIProviderModule *module, | CMPIProviderModule *module, |
ProviderVector *mv) | ProviderVector *mv) |
: _status(UNINITIALIZED), _module(module), _cimom_handle(0), _name(name), | : _status(UNINITIALIZED), _module(module), _cimom_handle(0), _name(name), |
_no_unload(0), _threadWatchList(), _cleanedThreads() |
_moduleName(moduleName), _no_unload(0), _threadWatchList(), |
|
_cleanedThreads() |
{ | { |
PEG_METHOD_ENTER( | PEG_METHOD_ENTER( |
TRC_CMPIPROVIDERINTERFACE, | TRC_CMPIPROVIDERINTERFACE, |
|
|
return(_module); | return(_module); |
} | } |
| |
|
String CMPIProvider::getModuleName() const |
|
{ |
|
return _moduleName; |
|
} |
|
|
String CMPIProvider::getName() const | String CMPIProvider::getName() const |
{ | { |
return(_name.subString(1,PEG_NOT_FOUND)); | return(_name.subString(1,PEG_NOT_FOUND)); |