version 1.20.10.2, 2006/01/18 17:37:59
|
version 1.22, 2006/11/01 21:51:19
|
|
|
//%2005//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// 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. |
|
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// EMC Corporation; VERITAS Software Corporation; The Open Group. | // EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec 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 |
|
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
// | // |
//============================================================================== | //============================================================================== |
// |
|
// Author: Karl Schopmeyer (k.schopmeyer@opengrooup.org) |
|
// |
|
// Modified By: |
|
// Alex Dunfey, EMC (Dunfey_alexander@emc.com) for PEP 244 |
|
// |
|
//%//////////////////////////////////////////////////////////////////////////// |
|
| |
| |
#ifndef InteropProvider_h | #ifndef InteropProvider_h |
|
|
#include <Pegasus/Provider/CIMInstanceProvider.h> | #include <Pegasus/Provider/CIMInstanceProvider.h> |
#include <Pegasus/Provider/CIMAssociationProvider.h> | #include <Pegasus/Provider/CIMAssociationProvider.h> |
| |
PEGASUS_USING_PEGASUS; |
PEGASUS_NAMESPACE_BEGIN; |
| |
/** | /** |
* The InteropProvider services the Interop classes of the DMTF CIM Schema | * The InteropProvider services the Interop classes of the DMTF CIM Schema |
|
|
* PG_ElementSoftwareIdentity (CIM_ElementSoftwareIdentity) | * PG_ElementSoftwareIdentity (CIM_ElementSoftwareIdentity) |
* PG_HostedAccessPoint (CIM_HostedAccessPoint) | * PG_HostedAccessPoint (CIM_HostedAccessPoint) |
* PG_HostedObjectManager (CIM_HostedService) | * PG_HostedObjectManager (CIM_HostedService) |
|
* PG_InstalledSoftwareIdentity (CIM_InstalledSoftwareIdentity) |
* PG_Namespace (CIM_Namespace) | * PG_Namespace (CIM_Namespace) |
* PG_NamespaceInManager (CIM_NamespaceInManager) | * PG_NamespaceInManager (CIM_NamespaceInManager) |
* PG_ObjectManager (CIM_ObjectManager) | * PG_ObjectManager (CIM_ObjectManager) |
|
|
ObjectPathResponseHandler & handler); | ObjectPathResponseHandler & handler); |
| |
| |
// Association Interfaces |
|
|
|
// CIMAssociationProvider interface | // CIMAssociationProvider interface |
virtual void associators( | virtual void associators( |
const OperationContext & context, | const OperationContext & context, |
|
|
| |
Array<CIMInstance> enumHostedAccessPointInstances(); | Array<CIMInstance> enumHostedAccessPointInstances(); |
| |
CIMInstance getObjectManagerInstance( |
CIMInstance getObjectManagerInstance(); |
const CIMObjectPath& objectPath=CIMObjectPath(String::EMPTY, |
|
PEGASUS_NAMESPACENAME_INTEROP, PEGASUS_CLASSNAME_PG_OBJECTMANAGER), |
|
const CIMPropertyList& propertyList=CIMPropertyList()); |
|
| |
CIMInstance getComputerSystemInstance( |
CIMInstance getComputerSystemInstance(); |
const CIMObjectPath& objectPath=CIMObjectPath(String::EMPTY, |
|
PEGASUS_NAMESPACENAME_INTEROP, PEGASUS_CLASSNAME_PG_OBJECTMANAGER), |
|
const CIMPropertyList& propertyList=CIMPropertyList()); |
|
| |
CIMInstance getHostedObjectManagerInstance( |
CIMInstance getHostedObjectManagerInstance(); |
const CIMObjectPath& objectPath=CIMObjectPath(String::EMPTY, |
|
PEGASUS_NAMESPACENAME_INTEROP, PEGASUS_CLASSNAME_PG_OBJECTMANAGER), |
|
const CIMPropertyList& propertyList=CIMPropertyList()); |
|
| |
Array<CIMInstance> enumNamespaceInstances(); | Array<CIMInstance> enumNamespaceInstances(); |
| |
CIMInstance buildNamespaceInstance(const String & nameSpace); | CIMInstance buildNamespaceInstance(const String & nameSpace); |
| |
|
CIMObjectPath createNamespace(const CIMInstance & namespaceInstance); |
|
void deleteNamespace(const CIMObjectPath & instanceName); |
|
|
Array<CIMInstance> enumNamespaceInManagerInstances(); | Array<CIMInstance> enumNamespaceInManagerInstances(); |
| |
Array<CIMInstance> enumCommMechanismForManagerInstances(); | Array<CIMInstance> enumCommMechanismForManagerInstances(); |
|
|
String & providerName, | String & providerName, |
String & version, | String & version, |
String & vendor, | String & vendor, |
String & interfaceType); |
Uint16 & majorVersion, |
|
Uint16 & minorVersion, |
|
Uint16 & revision, |
|
Uint16 & build, |
|
bool & extendedVersionSupplied, |
|
String & interfaceType, |
|
String & elementName, |
|
String & caption); |
| |
Array<CIMInstance> enumRegisteredProfileInstances(); | Array<CIMInstance> enumRegisteredProfileInstances(); |
Array<CIMInstance> enumRegisteredSubProfileInstances(); | Array<CIMInstance> enumRegisteredSubProfileInstances(); |
|
|
Array<CIMInstance> enumSubProfileRequiresProfileInstances(); | Array<CIMInstance> enumSubProfileRequiresProfileInstances(); |
Array<CIMInstance> enumSoftwareIdentityInstances(); | Array<CIMInstance> enumSoftwareIdentityInstances(); |
Array<CIMInstance> enumElementSoftwareIdentityInstances(); | Array<CIMInstance> enumElementSoftwareIdentityInstances(); |
|
Array<CIMInstance> enumInstalledSoftwareIdentityInstances(); |
| |
CIMInstance buildRegisteredProfile( | CIMInstance buildRegisteredProfile( |
const String & instanceId, | const String & instanceId, |
|
|
CIMInstance buildSoftwareIdentity( | CIMInstance buildSoftwareIdentity( |
const String & module, | const String & module, |
const String & provider, | const String & provider, |
const String & version, |
|
const String & vendor, | const String & vendor, |
const String & interfaceType); |
const String & version, |
|
Uint16 majorVersion, |
|
Uint16 minorVersion, |
|
Uint16 revisionNumber, |
|
Uint16 buildNumber, |
|
bool extendedVersionSupplied, |
|
const String & interfaceType, |
|
const String & elementName, |
|
const String & caption); |
| |
Array<CIMInstance> getProfileInstances( | Array<CIMInstance> getProfileInstances( |
const CIMName & profileType, | const CIMName & profileType, |
|
|
// Repository Instance variable | // Repository Instance variable |
CIMOMHandle cimomHandle; | CIMOMHandle cimomHandle; |
CIMRepository* repository; | CIMRepository* repository; |
// local save for name of object manager |
|
String objectManagerName; | String objectManagerName; |
String hostName; | String hostName; |
CIMClass profileCapabilitiesClass; | CIMClass profileCapabilitiesClass; |
CIMClass softwareIdentityClass; | CIMClass softwareIdentityClass; |
Array<Uint16> providerClassifications; | Array<Uint16> providerClassifications; |
Mutex interopMut; | Mutex interopMut; |
bool namespacesInitialized; |
//bool namespacesInitialized; - currently unused |
| |
// Registration info to cache | // Registration info to cache |
Array<String> profileIds; | Array<String> profileIds; |
|
|
Array<CIMNamespaceArray> elementNamespaces; | Array<CIMNamespaceArray> elementNamespaces; |
}; | }; |
| |
|
PEGASUS_NAMESPACE_END; |
|
|
#endif // InteropProvider_h | #endif // InteropProvider_h |