OW_NAMESPACE::SecondaryInstanceProviderIFC Class Reference

#include <OW_SecondaryInstanceProviderIFC.hpp>

Inheritance diagram for OW_NAMESPACE::SecondaryInstanceProviderIFC:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::SecondaryInstanceProviderIFC:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~SecondaryInstanceProviderIFC ()
virtual void filterInstances (const ProviderEnvironmentIFCRef &env, const String &ns, const String &className, CIMInstanceArray &instances, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EDeepFlag deep, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, const CIMClass &requestedClass, const CIMClass &cimClass)=0
 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)=0
 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, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, const StringArray *propertyList, const CIMClass &theClass)=0
 This method is called when the instance specified by previousInstance is modified.
virtual void deleteInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMObjectPath &cop)=0
 This method is called when the instance specified by cop is deleted.

Detailed Description

Definition at line 47 of file OW_SecondaryInstanceProviderIFC.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::SecondaryInstanceProviderIFC::~SecondaryInstanceProviderIFC  )  [virtual]
 

Definition at line 42 of file OW_SecondaryInstanceProviderIFC.cpp.


Member Function Documentation

virtual void OW_NAMESPACE::SecondaryInstanceProviderIFC::createInstance const ProviderEnvironmentIFCRef env,
const String ns,
const CIMInstance cimInstance
[pure 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.

Implemented in OW_NAMESPACE::CppSecondaryInstanceProviderProxy, and OW_NAMESPACE::RemoteSecondaryInstanceProvider.

virtual void OW_NAMESPACE::SecondaryInstanceProviderIFC::deleteInstance const ProviderEnvironmentIFCRef env,
const String ns,
const CIMObjectPath cop
[pure 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

Implemented in OW_NAMESPACE::CppSecondaryInstanceProviderProxy, and OW_NAMESPACE::RemoteSecondaryInstanceProvider.

virtual void OW_NAMESPACE::SecondaryInstanceProviderIFC::filterInstances const ProviderEnvironmentIFCRef env,
const String ns,
const String className,
CIMInstanceArray instances,
WBEMFlags::ELocalOnlyFlag  localOnly,
WBEMFlags::EDeepFlag  deep,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList,
const CIMClass requestedClass,
const CIMClass cimClass
[pure 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.

Implemented in OW_NAMESPACE::CppSecondaryInstanceProviderProxy, and OW_NAMESPACE::RemoteSecondaryInstanceProvider.

virtual void OW_NAMESPACE::SecondaryInstanceProviderIFC::modifyInstance const ProviderEnvironmentIFCRef env,
const String ns,
const CIMInstance modifiedInstance,
const CIMInstance previousInstance,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
const StringArray propertyList,
const CIMClass theClass
[pure 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

Implemented in OW_NAMESPACE::CppSecondaryInstanceProviderProxy, and OW_NAMESPACE::RemoteSecondaryInstanceProvider.


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