OWBI1::BI1SecondaryInstanceProviderIFC Class Reference

#include <OWBI1_SecondaryInstanceProviderIFC.hpp>

Inheritance diagram for OWBI1::BI1SecondaryInstanceProviderIFC:

Inheritance graph
[legend]
Collaboration diagram for OWBI1::BI1SecondaryInstanceProviderIFC:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~BI1SecondaryInstanceProviderIFC ()
virtual void getSecondaryInstanceProviderInfo (SecondaryInstanceProviderInfo &info)=0
 A provider should override this method to report which classes in which namespaces it instruments.
virtual void filterInstances (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMName &className, CIMInstanceArray &instances, const CIMPropertyList &propertyList, const CIMClass &requestedClass, const CIMClass &cimClass)
 This method allows the provider to modify instances generated by the enumInstances() or getInstance() member functions of an instance provider.
virtual void createInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &cimInstance)
 This method is called when the instance specified by cimInstance is created.
virtual void modifyInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &modifiedInstance, const CIMInstance &previousInstance, const CIMPropertyList &propertyList, const CIMClass &theClass)
 This method is called when the instance specified by previousInstance is modified.
virtual void deleteInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMObjectPath &cop)
 This method is called when the instance specified by cop is deleted.
virtual BI1SecondaryInstanceProviderIFCgetSecondaryInstanceProvider ()

Detailed Description

Definition at line 46 of file OWBI1_SecondaryInstanceProviderIFC.hpp.


Constructor & Destructor Documentation

OWBI1::BI1SecondaryInstanceProviderIFC::~BI1SecondaryInstanceProviderIFC  )  [virtual]
 

Definition at line 42 of file OWBI1_SecondaryInstanceProviderIFC.cpp.


Member Function Documentation

void OWBI1::BI1SecondaryInstanceProviderIFC::createInstance const ProviderEnvironmentIFCRef env,
const String ns,
const CIMInstance cimInstance
[virtual]
 

This method is called when the instance specified by cimInstance is created.

The provider cannot override this operation, since it will have been already processed by the primary instance provider. Throwing an exception will cause the error to be returned to the CIM Client, but the work that other providers may have done will not be undone.

Parameters:
env The provider's interface to it's environment.
ns The namespace
cimInstance The instance to be set.

Definition at line 62 of file OWBI1_SecondaryInstanceProviderIFC.cpp.

void OWBI1::BI1SecondaryInstanceProviderIFC::deleteInstance const ProviderEnvironmentIFCRef env,
const String ns,
const CIMObjectPath cop
[virtual]
 

This method is called when the instance specified by cop is deleted.

The provider cannot override this operation, since it will have been already processed by the primary instance provider. Throwing an exception will cause the error to be returned to the CIM Client, but the work that other providers may have done will not be undone.

Parameters:
env The provider's interface to it's environment.
ns The namespace
cop The instance to be deleted

Definition at line 83 of file OWBI1_SecondaryInstanceProviderIFC.cpp.

void OWBI1::BI1SecondaryInstanceProviderIFC::filterInstances const ProviderEnvironmentIFCRef env,
const String ns,
const CIMName className,
CIMInstanceArray instances,
const CIMPropertyList propertyList,
const CIMClass requestedClass,
const CIMClass cimClass
[virtual]
 

This method allows the provider to modify instances generated by the enumInstances() or getInstance() member functions of an instance provider.

Parameters:
env The provider's interface to it's environment.
ns The namespace
className The name of the requested class.
instances The instances the primary instance provider produced. This is an in/out parameter. The provider can modify instances to change what is returned to the CIM Client.
localOnly The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
deep The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
includeQualifiers The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
includeClassOrigin The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
propertyList The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
requestedClass The class the client specified when calling EnumerateInstances. For GetInstance(), requestedClass == cimClass.
cimClass The class the provider is responsible for.
Exceptions:
CIMException to indicate error. The error will be returned to the CIM Client.

Definition at line 48 of file OWBI1_SecondaryInstanceProviderIFC.cpp.

BI1SecondaryInstanceProviderIFC * OWBI1::BI1SecondaryInstanceProviderIFC::getSecondaryInstanceProvider  )  [virtual]
 

Reimplemented from OWBI1::BI1ProviderBaseIFC.

Definition at line 94 of file OWBI1_SecondaryInstanceProviderIFC.cpp.

virtual void OWBI1::BI1SecondaryInstanceProviderIFC::getSecondaryInstanceProviderInfo SecondaryInstanceProviderInfo info  )  [pure virtual]
 

A provider should override this method to report which classes in which namespaces it instruments.

It should insert an entry for each class it is responsible for. The entry consists of the class name and an optional list of namespaces. If the namespace list is empty, all namespaces are implied.

Referenced by OWBI1::BI1ProviderIFC::loadProviders().

void OWBI1::BI1SecondaryInstanceProviderIFC::modifyInstance const ProviderEnvironmentIFCRef env,
const String ns,
const CIMInstance modifiedInstance,
const CIMInstance previousInstance,
const CIMPropertyList propertyList,
const CIMClass theClass
[virtual]
 

This method is called when the instance specified by previousInstance is modified.

The provider cannot override this operation, since it will have been already processed by the primary instance provider. Throwing an exception will cause the error to be returned to the CIM Client, but the work that other providers may have done will not be undone.

Parameters:
env The provider's interface to it's environment.
ns The namespace

Definition at line 71 of file OWBI1_SecondaryInstanceProviderIFC.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:18:56 2006 for openwbem by  doxygen 1.4.6