Yes, that is at runtime.
--
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
[email protected]
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
[email protected]
----- Original message -----
From: Alain Picard <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [osgi-dev] Tool/API to analyze component dependencies
Date: Tue, Jul 17, 2018 8:07 AM
Thanks BJ, from what I see that will do the trick, expect that it is runtime, but I can live with that.AlainOn Tue, Jul 17, 2018 at 7:58 AM BJ Hargrave <[email protected]> wrote:Look at the ServiceComponentRuntime service: https://osgi.org/specification/osgi.cmpn/7.0.0/service.component.html#service.component-introspectionIt provides access to DTOs which describe each component description, ComponentDescriptionDTO, and actual component instances, ComponentConfigurationDTO. You can follows the ReferenceDTOs to see the dependency graph.--
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
[email protected]----- Original message -----
From: Alain Picard via osgi-dev <[email protected]>
Sent by: [email protected]
To: [email protected]
Cc:
Subject: [osgi-dev] Tool/API to analyze component dependencies
Date: Tue, Jul 17, 2018 6:27 AM
As I'm going through our migration to DS I am in need of understanding our component "graph" and to make sure there are no cycles. For the core ones, I manually created of small dot file from the @Reference and used graphviz to render.Now I am looking for some API to automate the process, at dev time if possible. AFAIK, DS will read the component.xml and create a registry with all info. Can I make use of this resolution to grab all the info that I need?ThanksAlain_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
