Modifying Exported Service Properties

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);