com.sun.wbem.provider
Interface MethodProvider


public interface MethodProvider
extends CIMProvider

This is the interface implemented by method providers. These providers are used to provide implementation for all methods of CIM classes.

Since:
WBEM 1.0

Method Summary
 CIMValue invokeMethod(CIMObjectPath op, java.lang.String methodName, java.util.Vector inParams, java.util.Vector outParams)
          This method contains the implementation for the method.
 
Methods inherited from interface com.sun.wbem.provider.CIMProvider
cleanup, initialize
 

Method Detail

invokeMethod

public CIMValue invokeMethod(CIMObjectPath op,
                             java.lang.String methodName,
                             java.util.Vector inParams,
                             java.util.Vector outParams)
                      throws CIMException
This method contains the implementation for the method. The CIMOM calls this method when the method specified in the parameters is to be invoked.
Parameters:
op - Contains the path to the instance whose method must be invoked.
methodName - The name of the method.
inParams - This is a vector of CIMValues which are the input parameters for the method.
outParams - This is a vector of CIMValues which are the output parameters for the method.
Returns:
CIMValue The return value of the method. If the method has no return value, it must return null.
Throws:
CIMException - The invokeMethod method throws a CIMException.