ok, I found that DS can be configured by ConfigAdmin. great !
Configuration dsConfig = getConfigurationAdmin()
.getConfiguration("org.apache.felix.scr.ScrService", null);
Dictionary<String, Object> props = new Hashtable<>();
props.put("ds.global.extender", true);
dsConfig.update(props);
Now the components of subsystem bundles are being processed by DS.
After have started I used the *inspect cap service* command and saw that
the services were created properly. but *scr:list *needs to be improved
since it doesn't list the components of scoped bundles.
anyway many thanks again David !
regards,
Cristiano
On 16/05/2017 12:26, Cristiano Gavião wrote:
Oh, that is great !
Do you remember if that property must be set as a system one while
starting the container (-Dds.global.extender) or perhaps it can be set
by a bundle using ConfigAdmin before installing the subsystem?
many thanks David!
On 16/05/2017 11:54, David Jencks wrote:
I don't have the code or docs here but you might need to set a
property, I think ds.global.extender, to true; if the property is
false ds only looks in its own region.
Hope this helpS
David Jencks
Sent from my iPhone
On May 16, 2017, at 6:48 AM, Cristiano Gavião <[email protected]>
wrote:
EventAdmin