vSphere Client SDK API Documentation : version 5.5.0.1300321

com.vmware.vise.search
Class PropertyUnmarshallerInitializer

java.lang.Object
  extended by com.vmware.vise.search.PropertyUnmarshallerInitializer
All Implemented Interfaces:
com.vmware.vise.util.AutoCloseable

public final class PropertyUnmarshallerInitializer
extends Object
implements com.vmware.vise.util.AutoCloseable

Register a PropertyUnmarshaller to handle query responses containing objects within objectNamespace.


Constructor Summary
PropertyUnmarshallerInitializer(SearchServiceExtensionRegistry searchRegistry, String objectNamespace, PropertyUnmarshaller propertyUnmarshaller)
          Register the propertyUnmarshaller for all objects in objectNamespace.
 
Method Summary
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyUnmarshallerInitializer

public PropertyUnmarshallerInitializer(SearchServiceExtensionRegistry searchRegistry,
                                       String objectNamespace,
                                       PropertyUnmarshaller propertyUnmarshaller)
Register the propertyUnmarshaller for all objects in objectNamespace.

Parameters:
searchRegistry - The inventory service data adapter's extension registry.
objectNamespace - The object namespace of objects published to inventory service.
propertyUnmarshaller - A propertyUnmarshaller that is capable of unmarshalling all objects in the objectNamespace.
Throws:
IllegalArgumentException - if any parameters are null.
Method Detail

close

public void close()
Specified by:
close in interface com.vmware.vise.util.AutoCloseable

vSphere Client SDK API Documentation : version 5.5.0.1300321

Copyright @ 2012 VMware, Inc. All rights reserved.