A bundle that has exported a service with properties can modify its properties, even after it has been registered with the OSGi framework. For example:
Dictionary properties = getExportedServiceProperties(VendorService.SERVICE_NAME);
properties.put("spicy", new Integer(10));
setExportedServiceProperties(VendorService.SERVICE_NAME, properties);
setExportedServiceProperties(String, Dictionary) is used to
modify the properties of an exported service.
Copyright © 2001, 2007 IBM Corporation and others. All Rights Reserved.