public static class BeanToOsgiServiceManager.OsgiRegistration extends Object implements AutoCloseable
Constructor and Description |
---|
OsgiRegistration(AutoCloseable instance,
ModuleIdentifier moduleIdentifier,
org.osgi.framework.BundleContext bundleContext,
Map<ServiceInterfaceAnnotation,String> serviceNamesToAnnotations) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
updateRegistrations(Map<ServiceInterfaceAnnotation,String> newAnnotationMapping,
org.osgi.framework.BundleContext bundleContext,
AutoCloseable newInstance) |
public OsgiRegistration(AutoCloseable instance, ModuleIdentifier moduleIdentifier, org.osgi.framework.BundleContext bundleContext, Map<ServiceInterfaceAnnotation,String> serviceNamesToAnnotations)
public void close()
close
in interface AutoCloseable
public void updateRegistrations(Map<ServiceInterfaceAnnotation,String> newAnnotationMapping, org.osgi.framework.BundleContext bundleContext, AutoCloseable newInstance)
Copyright © 2019 OpenDaylight. All rights reserved.