org.opennms.protocols.wmi.wbem
Interface OnmsWbemObject

All Known Implementing Classes:
OnmsWbemObjectImpl

public interface OnmsWbemObject

OnmsWbemObject interface.

Version:
$Id: $
Author:
ranger

Method Summary
 OnmsWbemMethodSet getWmiMethods()
          Gets a list of the available methods on this object.
 String getWmiObjectText()
          getWmiObjectText
 OnmsWbemObjectPath getWmiPath()
          getWmiPath
 OnmsWbemPropertySet getWmiProperties()
          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 - if any.

getWmiPath

OnmsWbemObjectPath getWmiPath()
                              throws WmiException

getWmiPath

Returns:
a OnmsWbemObjectPath object.
Throws:
WmiException - if any.

getWmiObjectText

String getWmiObjectText()
                        throws WmiException

getWmiObjectText

Returns:
a String object.
Throws:
WmiException - if any.

getWmiProperties

OnmsWbemPropertySet getWmiProperties()
                                     throws WmiException

getWmiProperties

Returns:
a OnmsWbemPropertySet object.
Throws:
WmiException - if any.


Copyright © 2011. All Rights Reserved.