version 1.8, 2006/01/30 16:18:10
|
version 1.14, 2006/09/20 20:47:44
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Chip Vincent (cvincent@us.ibm.com) |
|
// |
|
// Modified By: Yi Zhou, Hewlett-Packard Company(yi_zhou@hp.com) |
|
// Jenny Yu, Hewlett-Packard Company(jenny_yu@hp.com) |
|
// Mike Day, IBM (mdday@us.ibm.com) |
|
// Adrian Schuur, schuur@de.ibm.com |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_JMPILocalProviderManager_h | #ifndef Pegasus_JMPILocalProviderManager_h |
|
|
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/IPC.h> |
|
#include <Pegasus/Common/DQueue.h> |
|
#include <Pegasus/Common/HashTable.h> | #include <Pegasus/Common/HashTable.h> |
| |
#include <Pegasus/ProviderManager2/JMPI/JMPIProvider.h> | #include <Pegasus/ProviderManager2/JMPI/JMPIProvider.h> |
//#include <Pegasus/ProviderManager2/JMPI/JMPIResolverModule.h> |
#include <Pegasus/ProviderManager2/JMPI/Linkage.h> |
|
|
#include <Pegasus/ProviderManager2/Lockable.h> |
|
|
|
#include <Pegasus/Server/Linkage.h> |
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
class PEGASUS_SERVER_LINKAGE JMPILocalProviderManager |
class PEGASUS_JMPIPM_LINKAGE JMPILocalProviderManager |
{ | { |
| |
public: | public: |
|
|
const String *interfaceName; | const String *interfaceName; |
} CTRL_STRINGS; | } CTRL_STRINGS; |
| |
friend class ProviderManagerService; |
|
|
|
ResolverTable _resolvers; | ResolverTable _resolvers; |
ProviderTable _providers; | ProviderTable _providers; |
ModuleTable _modules; | ModuleTable _modules; |
Uint32 _idle_timeout; | Uint32 _idle_timeout; |
| |
JMPIProvider *_getResolver(const String & fileName, const String & interfaceType); | JMPIProvider *_getResolver(const String & fileName, const String & interfaceType); |
// CMPIResolverModule *_loadResolver(const String & fileName); |
|
Sint32 _provider_ctrl(CTRL code, void *parm, void *ret); | Sint32 _provider_ctrl(CTRL code, void *parm, void *ret); |
| |
Mutex _providerTableMutex; | Mutex _providerTableMutex; |