Contents
|
In file ../../src/Pegasus/Provider/CIMMethodProvider.h:
This class defines a set of functions that support the invocation of extrinsic methods on a CIM class or instance.
Documentation
This class defines a set of functions that support the invocation of
extrinsic methods on a CIM class or instance.
A method provider is not required to implement all the methods defined
for a CIM class. Multiple method providers may be registered for methods
of the same class, but not for the same method. (See the
SupportedMethods property of the PG_ProviderCapabilities class.)
Inheritance:
Public Methods
| CIMMethodProvider ()
Constructs a default CIMMethodProvider object
|
virtual | ~CIMMethodProvider ()
Destructs a CIMMethodProvider object
|
virtual void | invokeMethod ( const OperationContext& context, const CIMObjectPath& objectReference, const CIMName& methodName, const Array<CIMParamValue>& inParameters, MethodResultResponseHandler& handler)
Invokes an extrinsic specified method on a specified CIM class or instance.
|
Public Methods-
virtual void initialize(CIMOMHandle & cimom)
-
virtual void terminate()
- CIMMethodProvider()
-
Constructs a default CIMMethodProvider object
- virtual ~CIMMethodProvider()
-
Destructs a CIMMethodProvider object
- virtual void invokeMethod( const OperationContext& context, const CIMObjectPath& objectReference, const CIMName& methodName, const Array<CIMParamValue>& inParameters, MethodResultResponseHandler& handler) = 0
-
Invokes an extrinsic specified method on a specified CIM class or
instance.
- Throws:
- CIMNotSupportedException If the method is not supported.
CIMInvalidParameterException If a parameter is invalid.
CIMObjectNotFoundException If the object is not found.
CIMAccessDeniedException If the user requesting the action
is not authorized to perform the action.
CIMOperationFailedException If the operation fails.
- Parameters:
- context - An OperationContext object containing the context for
the processing of the operation. The context includes the name of
the requesting user, language information, and other data.
objectReference - A fully qualified CIMObjectPath specifying
the class or instance on which to invoke the method.
methodName - The name of the method to invoke.
inParameters - An Array of CIMParamValue objects specifying the
method input parameters.
handler - ResponseHandler object for delivery of results.
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
|