com.vmware.vim.rest
Class RestManagedObject

java.lang.Object
  extended by com.vmware.vim.rest.RestManagedObject

public class RestManagedObject
extends Object


Constructor Summary
RestManagedObject(RestClient rc, String moid)
           
 
Method Summary
 String getAllProperties()
           
 String getPropertyAsString(String path)
           
 String getPropertyDO(String path)
           
 String invoke(String method)
           
 String invoke(String method, Map<String,String> para)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestManagedObject

public RestManagedObject(RestClient rc,
                         String moid)
Method Detail

getPropertyDO

public String getPropertyDO(String path)
                     throws IOException
Throws:
IOException

getAllProperties

public String getAllProperties()
                        throws IOException
Throws:
IOException

getPropertyAsString

public String getPropertyAsString(String path)
                           throws IOException,
                                  XPathExpressionException
Throws:
IOException
XPathExpressionException

invoke

public String invoke(String method,
                     Map<String,String> para)
              throws Exception
Throws:
Exception

invoke

public String invoke(String method)
              throws Exception
Throws:
Exception


Copyright © 2011-2012. All Rights Reserved.