org.opennms.protocols.wmi.wbem.jinterop
Class OnmsWbemObjectImpl

java.lang.Object
  extended by 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
OnmsWbemObjectImpl(org.jinterop.dcom.impls.automation.IJIDispatch wbemObjectDispatch)
          Constructor for OnmsWbemObjectImpl.
 
Method Summary
 OnmsWbemMethodSet getWmiMethods()
          getWmiMethods
 String getWmiObjectText()
          getWmiObjectText
 OnmsWbemObjectPath getWmiPath()
          getWmiPath
 OnmsWbemPropertySet getWmiProperties()
          getWmiProperties
 OnmsWbemObjectImpl wmiExecMethod(String methodName, List<?> params, List<?> namedValueSet)
          Execute a named method on this WMI object.
 List<String> wmiInstances()
          wmiInstances
 String wmiPut()
          wmiPut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnmsWbemObjectImpl

public OnmsWbemObjectImpl(org.jinterop.dcom.impls.automation.IJIDispatch wbemObjectDispatch)

Constructor for OnmsWbemObjectImpl.

Parameters:
wbemObjectDispatch - a IJIDispatch object.
Method Detail

wmiExecMethod

public OnmsWbemObjectImpl wmiExecMethod(String methodName,
                                        List<?> params,
                                        List<?> namedValueSet)
Execute a named method on this WMI object.

Specified by:
wmiExecMethod in interface OnmsWbemObject
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 interface OnmsWbemObject
Returns:
a List object.

wmiPut

public String wmiPut()

wmiPut

Specified by:
wmiPut in interface OnmsWbemObject
Returns:
a String object.

getWmiMethods

public OnmsWbemMethodSet getWmiMethods()
                                throws WmiException

getWmiMethods

Specified by:
getWmiMethods in interface OnmsWbemObject
Returns:
a OnmsWbemMethodSet object.
Throws:
WmiException - if any.

getWmiPath

public OnmsWbemObjectPath getWmiPath()
                              throws WmiException

getWmiPath

Specified by:
getWmiPath in interface OnmsWbemObject
Returns:
a OnmsWbemObjectPath object.
Throws:
WmiException - if any.

getWmiObjectText

public String getWmiObjectText()
                        throws WmiException

getWmiObjectText

Specified by:
getWmiObjectText in interface OnmsWbemObject
Returns:
a String object.
Throws:
WmiException - if any.

getWmiProperties

public OnmsWbemPropertySet getWmiProperties()
                                     throws WmiException

getWmiProperties

Specified by:
getWmiProperties in interface OnmsWbemObject
Returns:
a OnmsWbemPropertySet object.
Throws:
WmiException - if any.


Copyright © 2011. All Rights Reserved.