public final class JaxbBindingsInitializer extends Object implements com.vmware.vise.util.AutoCloseable, org.eclipse.gemini.blueprint.context.BundleContextAware
| Constructor and Description |
|---|
JaxbBindingsInitializer(com.vmware.vise.search.SearchServiceExtensionRegistry searchRegistry,
String objectNamespace,
Collection<String> bindingPackages)
Register JAXB bindings for objects in objectNamespace.
|
public JaxbBindingsInitializer(com.vmware.vise.search.SearchServiceExtensionRegistry searchRegistry,
String objectNamespace,
Collection<String> bindingPackages)
searchRegistry - The inventory service data adapter's extension registry.objectNamespace - The xml namespace of objects published to Inventory Service. For
example, if the fully-qualified type names of objects published
to Inventory Service begin with a prefix of "foo", where the
fully-qualified type names are in the format "foo:objectType",
then this argument should be "foo".bindingPackages - Packages containing jaxb binding classes.classLoader - ClassLoader capable of loading classes from the bindingPackages.IllegalArgumentException - If any parameters are null.public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
setBundleContext in interface org.eclipse.gemini.blueprint.context.BundleContextAwarepublic void close()
close in interface com.vmware.vise.util.AutoCloseableCopyright @ 2012 VMware, Inc. All rights reserved.