|[virgo-dev] Configuration of bundles|
I have a bundle that is providing a service that needs to be configured before it starts. As I have understood it there are two approaches, one is to use the ManagedService and one is to use the ConfigurationAdmin. However, how do this map to Virgo? If I put a properties file to "pickup" that will be deployed as a configuration artifact. Should that map directly to the ManagedService.update() call?
Hashtable<String, String> prop = new Hashtable<String, String>();
this.managedServiceRegistration = bundleContext.registerService(ManagedService.class.getName(), this, prop);