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 OnmsWbemMethodSet
getWmiMethods()
getWmiMethodsString
getWmiObjectText()
getWmiObjectTextOnmsWbemObjectPath
getWmiPath()
getWmiPathOnmsWbemPropertySet
getWmiProperties()
getWmiPropertiesOnmsWbemObjectImpl
wmiExecMethod(String methodName, List<?> params, List<?> namedValueSet)
Execute a named method on this WMI object.List<String>
wmiInstances()
wmiInstancesString
wmiPut()
wmiPut
-
-
-
Method Detail
-
wmiExecMethod
public OnmsWbemObjectImpl wmiExecMethod(String methodName, List<?> params, List<?> namedValueSet)
Execute a named method on this WMI object.- Specified by:
wmiExecMethod
in 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:
wmiInstances
in interfaceOnmsWbemObject
- Returns:
- a
List
object.
-
wmiPut
public String wmiPut()
wmiPut
- Specified by:
wmiPut
in interfaceOnmsWbemObject
- Returns:
- a
String
object.
-
getWmiMethods
public OnmsWbemMethodSet getWmiMethods() throws WmiException
getWmiMethods
- Specified by:
getWmiMethods
in interfaceOnmsWbemObject
- Returns:
- a
OnmsWbemMethodSet
object. - Throws:
WmiException
- if any.
-
getWmiPath
public OnmsWbemObjectPath getWmiPath() throws WmiException
getWmiPath
- Specified by:
getWmiPath
in interfaceOnmsWbemObject
- Returns:
- a
OnmsWbemObjectPath
object. - Throws:
WmiException
- if any.
-
getWmiObjectText
public String getWmiObjectText() throws WmiException
getWmiObjectText
- Specified by:
getWmiObjectText
in interfaceOnmsWbemObject
- Returns:
- a
String
object. - Throws:
WmiException
- if any.
-
getWmiProperties
public OnmsWbemPropertySet getWmiProperties() throws WmiException
getWmiProperties
- Specified by:
getWmiProperties
in interfaceOnmsWbemObject
- Returns:
- a
OnmsWbemPropertySet
object. - Throws:
WmiException
- if any.
-
-