OWBI1::BI1MethodProviderIFC Class Reference

This is the interface implemented by method providers. More...

#include <OWBI1_MethodProviderIFC.hpp>

Inheritance diagram for OWBI1::BI1MethodProviderIFC:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~BI1MethodProviderIFC ()
virtual void getMethodProviderInfo (MethodProviderInfo &)
 A provider should override this method to report which classes in which namespaces it instruments.
virtual CIMValue invokeMethod (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMObjectPath &path, const String &methodName, const CIMParamValueArray &in, CIMParamValueArray &out)=0
 The CIMOM calls this method when the method specified in the parameters is to be invoked.
virtual BI1MethodProviderIFCgetMethodProvider ()

Detailed Description

This is the interface implemented by method providers.

These providers are used to provide implementation for all methods of CIM classes. All calls to the derived provider will be serialized so that providers need not worry about multi-threading issues.

Definition at line 51 of file OWBI1_MethodProviderIFC.hpp.


Constructor & Destructor Documentation

OWBI1::BI1MethodProviderIFC::~BI1MethodProviderIFC  )  [virtual]
 

Definition at line 43 of file OWBI1_MethodProviderIFC.cpp.


Member Function Documentation

BI1MethodProviderIFC * OWBI1::BI1MethodProviderIFC::getMethodProvider  )  [virtual]
 

Reimplemented from OWBI1::BI1ProviderBaseIFC.

Definition at line 55 of file OWBI1_MethodProviderIFC.cpp.

void OWBI1::BI1MethodProviderIFC::getMethodProviderInfo MethodProviderInfo  )  [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. If the method does nothing, then the provider's class must have a provider qualifier that identifies the provider. This old behavior is deprecated and will be removed sometime in the future. This method has a default implementation that does nothing, to allow old providers to be migrated forward with little or no change, but once the old provider location method is removed, this member function will be pure virtual.

Definition at line 49 of file OWBI1_MethodProviderIFC.cpp.

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

virtual CIMValue OWBI1::BI1MethodProviderIFC::invokeMethod const ProviderEnvironmentIFCRef env,
const String ns,
const CIMObjectPath path,
const String methodName,
const CIMParamValueArray in,
CIMParamValueArray out
[pure virtual]
 

The CIMOM calls this method when the method specified in the parameters is to be invoked.

Parameters:
cop Contains the path to the instance whose method must be invoked.
methodName The name of the method.
inParams An array of CIMValues which are the input parameters for this method.
outParams An array of CIMValues which are the output parameters for this method.
Returns:
CIMValue - The return value of the method. Must be a valid CIMValue.
Exceptions:
CIMException 


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