Class OnmsWbemObjectImpl
- java.lang.Object
-
- org.opennms.protocols.wmi.wbem.jinterop.OnmsWbemObjectImpl
-
- All Implemented Interfaces:
OnmsWbemObject
public class OnmsWbemObjectImpl extends Object implements OnmsWbemObject
OnmsWbemObjectImpl class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description OnmsWbemObjectImpl(org.jinterop.dcom.impls.automation.IJIDispatch wbemObjectDispatch)Constructor for OnmsWbemObjectImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnmsWbemMethodSetgetWmiMethods()getWmiMethodsStringgetWmiObjectText()getWmiObjectTextOnmsWbemObjectPathgetWmiPath()getWmiPathOnmsWbemPropertySetgetWmiProperties()getWmiPropertiesOnmsWbemObjectImplwmiExecMethod(String methodName, List<?> params, List<?> namedValueSet)Execute a named method on this WMI object.List<String>wmiInstances()wmiInstancesStringwmiPut()wmiPut
-
-
-
Method Detail
-
wmiExecMethod
public OnmsWbemObjectImpl wmiExecMethod(String methodName, List<?> params, List<?> namedValueSet)
Execute a named method on this WMI object.- Specified by:
wmiExecMethodin interfaceOnmsWbemObject- 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
public List<String> wmiInstances()
wmiInstances
- Specified by:
wmiInstancesin interfaceOnmsWbemObject- Returns:
- a
Listobject.
-
wmiPut
public String wmiPut()
wmiPut
- Specified by:
wmiPutin interfaceOnmsWbemObject- Returns:
- a
Stringobject.
-
getWmiMethods
public OnmsWbemMethodSet getWmiMethods() throws WmiException
getWmiMethods
- Specified by:
getWmiMethodsin interfaceOnmsWbemObject- Returns:
- a
OnmsWbemMethodSetobject. - Throws:
WmiException- if any.
-
getWmiPath
public OnmsWbemObjectPath getWmiPath() throws WmiException
getWmiPath
- Specified by:
getWmiPathin interfaceOnmsWbemObject- Returns:
- a
OnmsWbemObjectPathobject. - Throws:
WmiException- if any.
-
getWmiObjectText
public String getWmiObjectText() throws WmiException
getWmiObjectText
- Specified by:
getWmiObjectTextin interfaceOnmsWbemObject- Returns:
- a
Stringobject. - Throws:
WmiException- if any.
-
getWmiProperties
public OnmsWbemPropertySet getWmiProperties() throws WmiException
getWmiProperties
- Specified by:
getWmiPropertiesin interfaceOnmsWbemObject- Returns:
- a
OnmsWbemPropertySetobject. - Throws:
WmiException- if any.
-
-