vSphere Client SDK API Documentation : version 5.5.0.1300321

com.vmware.vise.data.uri
Interface ResourceTypeResolver


public interface ResourceTypeResolver

Defines a resolver that is able to find the type of the resource referenced by a given set of URIs.


Method Summary
 String getResourceType(URI uri)
          Returns the type of the resource that the provided URI identifies.
 String getServerGuid(URI uri)
          Returns the serverGuid of the resource that the provided URI identifies.
 

Method Detail

getServerGuid

String getServerGuid(URI uri)
Returns the serverGuid of the resource that the provided URI identifies.

Parameters:
uri - The URI of the resource.
Returns:
The serverGuid of the resource that the provided URI identifies.

getResourceType

String getResourceType(URI uri)
Returns the type of the resource that the provided URI identifies.

Parameters:
uri - The URI of the resource which type should return.
Returns:
The type of the resource that the provided URI identifies.

vSphere Client SDK API Documentation : version 5.5.0.1300321

Copyright @ 2012 VMware, Inc. All rights reserved.