vSphere Client SDK API Documentation : version 5.5.0.1300321

com.vmware.vise.vim.data.adapters.search
Class ObjectModelBindingsInitializer

java.lang.Object
  extended by com.vmware.vise.vim.data.adapters.search.ObjectModelBindingsInitializer
All Implemented Interfaces:
com.vmware.vise.util.AutoCloseable, org.eclipse.gemini.blueprint.context.BundleContextAware

public final class ObjectModelBindingsInitializer
extends Object
implements com.vmware.vise.util.AutoCloseable, org.eclipse.gemini.blueprint.context.BundleContextAware

Initializes an Object Model using binding packages.


Constructor Summary
ObjectModelBindingsInitializer(SearchServiceExtensionRegistry searchRegistry, String objectNamespace, Collection<String> bindingPackages)
          Create a new instance.
 
Method Summary
 void close()
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectModelBindingsInitializer

public ObjectModelBindingsInitializer(SearchServiceExtensionRegistry searchRegistry,
                                      String objectNamespace,
                                      Collection<String> bindingPackages)
Create a new instance.

Parameters:
searchRegistry - The search data adapter's extension registry.
objectNamespace - The object namespace preceeding the types published to Inventory Service.
bindingPackages - Packages containing Object Model binding classes. The binding classes should describe hierarchical relationships between objects within objectNamespace.
classLoader - ClassLoader capable of loading classes from the bindingPackages.
Throws:
IllegalArgumentException - if any parameters are null.
Method Detail

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Specified by:
setBundleContext in interface org.eclipse.gemini.blueprint.context.BundleContextAware

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.