com.vmware.vise.vim.data.adapters.search
Class ObjectModelBindingsInitializer
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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
Copyright @ 2012 VMware, Inc. All rights reserved.