CIMOMHandle Class Reference

#include <CIMOMHandle.h>

List of all members.

Public Member Functions

 CIMOMHandle ()
 CIMOMHandle (const CIMOMHandle &)
 ~CIMOMHandle ()
CIMOMHandleoperator= (const CIMOMHandle &handle)
CIMClass getClass (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMName &className, Boolean localOnly, Boolean includeQualifiers, Boolean includeClassOrigin, const CIMPropertyList &propertyList)
Array< CIMClassenumerateClasses (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMName &className, Boolean deepInheritance, Boolean localOnly, Boolean includeQualifiers, Boolean includeClassOrigin)
Array< CIMNameenumerateClassNames (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMName &className, Boolean deepInheritance)
void createClass (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMClass &newClass)
void modifyClass (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMClass &modifiedClass)
void deleteClass (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMName &className)
CIMInstance getInstance (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMObjectPath &instanceName, Boolean localOnly, Boolean includeQualifiers, Boolean includeClassOrigin, const CIMPropertyList &propertyList)
Array< CIMInstanceenumerateInstances (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMName &className, Boolean deepInheritance, Boolean localOnly, Boolean includeQualifiers, Boolean includeClassOrigin, const CIMPropertyList &propertyList)
Array< CIMObjectPathenumerateInstanceNames (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMName &className)
CIMObjectPath createInstance (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMInstance &newInstance)
void modifyInstance (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMInstance &modifiedInstance, Boolean includeQualifiers, const CIMPropertyList &propertyList)
void deleteInstance (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMObjectPath &instanceName)
Array< CIMObjectexecQuery (const OperationContext &context, const CIMNamespaceName &nameSpace, const String &queryLanguage, const String &query)
Array< CIMObjectassociators (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMObjectPath &objectName, const CIMName &assocClass, const CIMName &resultClass, const String &role, const String &resultRole, Boolean includeQualifiers, Boolean includeClassOrigin, const CIMPropertyList &propertyList)
Array< CIMObjectPathassociatorNames (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMObjectPath &objectName, const CIMName &assocClass, const CIMName &resultClass, const String &role, const String &resultRole)
Array< CIMObjectreferences (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMObjectPath &objectName, const CIMName &resultClass, const String &role, Boolean includeQualifiers, Boolean includeClassOrigin, const CIMPropertyList &propertyList)
Array< CIMObjectPathreferenceNames (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMObjectPath &objectName, const CIMName &resultClass, const String &role)
CIMValue getProperty (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMObjectPath &instanceName, const CIMName &propertyName)
void setProperty (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMObjectPath &instanceName, const CIMName &propertyName, const CIMValue &newValue)
CIMValue invokeMethod (const OperationContext &context, const CIMNamespaceName &nameSpace, const CIMObjectPath &instanceName, const CIMName &methodName, const Array< CIMParamValue > &inParameters, Array< CIMParamValue > &outParameters)
void disallowProviderUnload ()
void allowProviderUnload ()


Detailed Description

Provides an interface through which a provider may communicate with the CIM Server. Most of the methods of this class mirror the CIMClient interface and allow a provider to perform CIM operations. The semantics of these methods are the same as the CIMClient interface, and their documentation is not repeated here. Please refer to the CIMClient documentation for further details. The interface differs slightly by the use of an OperationContext parameter. This parameter is used to communicate context information such as language data, for which the CIMClient uses state settings.

The CIMOMHandle may serialize requests from different threads, and therefore may not be a good choice for multi-threaded access. Use of the CIMClient interface by a provider is permitted and may be considered when multiple threads need to perform client operations concurrently.


Constructor & Destructor Documentation

CIMOMHandle::CIMOMHandle (  ) 

Constructs a default CIMOMHandle object.

CIMOMHandle::~CIMOMHandle (  ) 

Destructs a CIMOMHandle object.


Member Function Documentation

void CIMOMHandle::allowProviderUnload (  ) 

Provides a hint to the CIM Server that the provider calling this method no longer prefers not to be unloaded. This hint applies in situations where a provider unload is not necessary, such as when the CIM Server unloads idle providers for efficiency reasons. This method is used to rescind a hint that was given using the disallowProviderUnload method. Note that each allowProviderUnload call should be preceded by a disallowProviderUnload call.

void CIMOMHandle::disallowProviderUnload (  ) 

Provides a hint to the CIM Server that the provider calling this method prefers not to be unloaded. This hint applies in situations where a provider unload is not necessary, such as when the CIM Server unloads idle providers for efficiency reasons. A provider may rescind this hint by using the allowProviderUnload method. Note that disallowProviderUnload is cumulative, such that each call to disallowProviderUnload must be matched with a call to allowProviderUnload.

CIMOMHandle& CIMOMHandle::operator= ( const CIMOMHandle handle  ) 

Assigns the CIMOMHandle from a specified CIMOMHandle object.

Parameters:
handle The CIMOMHandle object to copy.
Returns:
A reference to this CIMOMHandle object with the new assignment.


The documentation for this class was generated from the following file:
  • /scratch/rpmbuild.5425.Bj5455/pegasus/src/Pegasus/Provider/CIMOMHandle.h