org.opennms.protocols.wmi.wbem
Interface OnmsWbemObject

All Known Implementing Classes:
OnmsWbemObjectImpl

public interface OnmsWbemObject


Method Summary
 OnmsWbemMethodSet getWmiMethods()
          Gets a list of the available methods on this object.
 String getWmiObjectText()
           
 OnmsWbemObjectPath getWmiPath()
           
 OnmsWbemPropertySet getWmiProperties()
           
 OnmsWbemObject wmiExecMethod(String methodName, List params, List namedValueSet)
          Execute a named method on this WMI object.
 List<String> wmiInstances()
          Returns a list of instances of this object (if it is a WMI class.)
 String wmiPut()
          Create or update a WMI object.
 

Method Detail

wmiExecMethod

OnmsWbemObject wmiExecMethod(String methodName,
                             List params,
                             List namedValueSet)
Execute a named method on this WMI object.

Parameters:
methodName - The name of the method to execute on the remote side.
params - The list of parameters for this method.
namedValueSet - A list of parameter values.
Returns:
The result of the method execution.

wmiInstances

List<String> wmiInstances()
Returns a list of instances of this object (if it is a WMI class.)

Returns:
a list of instance names.

wmiPut

String wmiPut()
Create or update a WMI object.

Returns:
the object path to the created/updated WMI object.

getWmiMethods

OnmsWbemMethodSet getWmiMethods()
                                throws WmiException
Gets a list of the available methods on this object.

Returns:
a list of available methods on this object.
Throws:
WmiException

getWmiPath

OnmsWbemObjectPath getWmiPath()
                              throws WmiException
Throws:
WmiException

getWmiObjectText

String getWmiObjectText()
                        throws WmiException
Throws:
WmiException

getWmiProperties

OnmsWbemPropertySet getWmiProperties()
                                     throws WmiException
Throws:
WmiException


Copyright © 2009. All Rights Reserved.