com.vmware.vise.search
Class PropertyUnmarshallerInitializer
java.lang.Object
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.
Method Summary |
void |
close()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
close
public void close()
- Specified by:
close
in interface com.vmware.vise.util.AutoCloseable
Copyright @ 2012 VMware, Inc. All rights reserved.