I am currently working on root cause analysis for DS components. To do this
I rely on the ServiceComponentRuntime service.

I got the description of this component in
ComponentDescriptionDTO desc;

and I can get configurations for it using:
Collection<ComponentConfigurationDTO> configs =
scr.getComponentConfigurationDTOs(desc)

I wonder how to correctly detect the state of a missing configuration.

There is the configuration state UNSATISFIED_CONFIGURATION but how can it
occur?
If my component has no config then getComponentConfigurationDTOs returns an
empty list and if a configuration is present it can not be unsatisfied, can
it?

Best
Christian
-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to