OW_NAMESPACE::CppMethodProviderIFC Class Reference

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

#include <OW_CppMethodProviderIFC.hpp>

Inheritance diagram for OW_NAMESPACE::CppMethodProviderIFC:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~CppMethodProviderIFC ()
virtual void getMethodProviderInfoWithEnv (const ProviderRegistrationEnvironmentIFCRef &env, MethodProviderInfo &)
 A provider should override this method to report which classes in which namespaces it instruments.
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 CppMethodProviderIFCgetMethodProvider ()

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 52 of file OW_CppMethodProviderIFC.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::CppMethodProviderIFC::~CppMethodProviderIFC  )  [virtual]
 

Definition at line 44 of file OW_CppMethodProviderIFC.cpp.


Member Function Documentation

CppMethodProviderIFC * OW_NAMESPACE::CppMethodProviderIFC::getMethodProvider  )  [virtual]
 

Reimplemented from OW_NAMESPACE::CppProviderBaseIFC.

Definition at line 65 of file OW_CppMethodProviderIFC.cpp.

void OW_NAMESPACE::CppMethodProviderIFC::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 59 of file OW_CppMethodProviderIFC.cpp.

Referenced by getMethodProviderInfoWithEnv().

void OW_NAMESPACE::CppMethodProviderIFC::getMethodProviderInfoWithEnv const ProviderRegistrationEnvironmentIFCRef env,
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 50 of file OW_CppMethodProviderIFC.cpp.

References getMethodProviderInfo().

virtual CIMValue OW_NAMESPACE::CppMethodProviderIFC::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 

Referenced by OW_NAMESPACE::ProviderAgentCIMOMHandle::invokeMethod().


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