version 1.10, 2004/07/28 11:41:05
|
version 1.15, 2005/02/05 23:00:26
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
#include <Pegasus/Common/OperationContextInternal.h> | #include <Pegasus/Common/OperationContextInternal.h> |
#include <Pegasus/Common/CIMMessage.h> | #include <Pegasus/Common/CIMMessage.h> |
#include <Pegasus/Common/Tracer.h> | #include <Pegasus/Common/Tracer.h> |
|
#include <Pegasus/Common/FileSystem.h> |
|
#include <Pegasus/Config/ConfigManager.h> |
#include <Pegasus/ProviderManager2/OperationResponseHandler.h> | #include <Pegasus/ProviderManager2/OperationResponseHandler.h> |
#include <Pegasus/ProviderManager2/ProviderManagerModule.h> | #include <Pegasus/ProviderManager2/ProviderManagerModule.h> |
#include <Pegasus/ProviderManager2/ProviderManager.h> | #include <Pegasus/ProviderManager2/ProviderManager.h> |
|
|
PEGASUS_INDICATION_CALLBACK indicationCallback) | PEGASUS_INDICATION_CALLBACK indicationCallback) |
: _manager(0) | : _manager(0) |
{ | { |
_physicalName = ProviderManager::_resolvePhysicalName(physicalName); |
_physicalName = ConfigManager::getHomedPath(PEGASUS_DEST_LIB_DIR) + |
|
String("/") + FileSystem::buildLibraryFileName(physicalName); |
| |
_logicalName = logicalName; | _logicalName = logicalName; |
_interfaceName = interfaceName; | _interfaceName = interfaceName; |
|
|
} | } |
#endif | #endif |
| |
#if defined(ENABLE_CMPI_PROVIDER_MANAGER) |
#if defined(PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER) |
if (interfaceType == "CMPI") | if (interfaceType == "CMPI") |
{ | { |
ProviderManagerContainer* pmc = new ProviderManagerContainer( | ProviderManagerContainer* pmc = new ProviderManagerContainer( |
|
|
} | } |
#endif | #endif |
| |
#if defined(ENABLE_JMPI_PROVIDER_MANAGER) |
#if defined(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER) |
if (interfaceType == "JMPI") | if (interfaceType == "JMPI") |
{ | { |
ProviderManagerContainer* pmc = new ProviderManagerContainer( | ProviderManagerContainer* pmc = new ProviderManagerContainer( |